From 5c3b87b082bd84cd9a9d74f81bd529485f52fc47 Mon Sep 17 00:00:00 2001 From: Konrad Kaim Date: Mon, 18 Aug 2025 16:55:49 +0000 Subject: [PATCH] fix: reorder custom_nodepool_arguments for node-pool create command --- src/xpk/core/nodepool.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xpk/core/nodepool.py b/src/xpk/core/nodepool.py index fccd7c886..ea0f6fb59 100644 --- a/src/xpk/core/nodepool.py +++ b/src/xpk/core/nodepool.py @@ -275,7 +275,6 @@ def run_gke_node_pool_create_command( f' --host-maintenance-interval={args.host_maintenance_interval}' f' {capacity_args}' ' --enable-gvnic' - f' {args.custom_nodepool_arguments}' ) if system.accelerator_type == AcceleratorType['TPU']: command += f' --node-version={gke_node_pool_version}' @@ -319,6 +318,8 @@ def run_gke_node_pool_create_command( if args.enable_workload_identity or args.enable_gcsfuse_csi_driver: command += ' --workload-metadata=GKE_METADATA' + command += args.custom_nodepool_arguments + task = f'NodepoolCreate-{node_pool_name}' create_commands.append(command) create_task_names.append(task)