Skip to content

Commit dbf9bf7

Browse files
authored
Patch XPK to deploy cluster with private nodes (#1733)
Update hard-coded setting to disable node public IP in cluster blueprint which is not exposed in xpk - cluster redeployed on Oct 7 2025 due to organization policy constraint
1 parent 1c20662 commit dbf9bf7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/gke-workflow/gke/xpk-gcs-sa.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apiVersion: v1
22
kind: ServiceAccount
33
metadata:
4-
name: xpk-gcs-sa
4+
name: xpk-sa
55
namespace: default
66
annotations:
77
iam.gke.io/gcp-service-account: jobset-xpk-user@nv-jaxtoolboxgcp-20240925.iam.gserviceaccount.com
@@ -25,7 +25,7 @@ metadata:
2525
namespace: default
2626
subjects:
2727
- kind: ServiceAccount
28-
name: xpk-gcs-sa
28+
name: xpk-sa
2929
namespace: default
3030
roleRef:
3131
kind: Role

.github/gke-workflow/xpk/v0.10.1/blueprint.patch

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
diff --git a/src/xpk/core/blueprint/blueprint_generator.py b/src/xpk/core/blueprint/blueprint_generator.py
2-
index 3d7f046..d94fe9e 100644
2+
index 3d7f046..bac71ba 100644
33
--- a/src/xpk/core/blueprint/blueprint_generator.py
44
+++ b/src/xpk/core/blueprint/blueprint_generator.py
5-
@@ -201,12 +201,15 @@ class BlueprintGenerator:
5+
@@ -201,12 +201,16 @@ class BlueprintGenerator:
66
"type": "nvidia-h100-mega-80gb",
77
"count": 8,
88
"gpu_driver_installation_config": {
99
- "gpu_driver_version": "LATEST"
1010
+ "gpu_driver_version": "INSTALLATION_DISABLED"
1111
},
1212
}],
13+
+ "enable_private_nodes": True,
1314
"auto_upgrade": (
1415
True if capacity_type != CapacityType.FLEX_START else False
1516
),

0 commit comments

Comments
 (0)