Skip to content

Commit cdb244f

Browse files
committed
Add Managed Lustre support in gke a3 ultra
1 parent fdd04fb commit cdb244f

1 file changed

Lines changed: 60 additions & 1 deletion

File tree

examples/gke-a3-ultragpu/gke-a3-ultragpu.yaml

Lines changed: 60 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ vars:
3333
system_node_pool_disk_size_gb: 200
3434
a3ultra_node_pool_disk_size_gb: 100
3535
accelerator_type: nvidia-h200-141gb
36-
version_prefix: "1.31."
36+
version_prefix: "1.33."
3737

3838
enable_periodic_health_checks: false # Make this true to run CHS (healthchecks)
3939
health_check_schedule: "0 0 * * 0" # Run the health check at 12:00 AM (midnight) every Sunday
@@ -44,6 +44,22 @@ vars:
4444
chs_cronjob_rendered_path: $(ghpc_stage("./chs-cronjob.yaml.tftpl"))
4545
chs_pvc_rendered_path: $(ghpc_stage("./chs-pvc.yaml.tftpl"))
4646

47+
# # To enable Managed-Lustre please uncomment this section and fill out the settings.
48+
# # Additionally, please uncomment the private_service_access, lustre_firewall_rule, managed-lustre and lustre-pv modules.
49+
# # Managed Lustre is only supported in specific regions and zones
50+
# # Please refer https://cloud.google.com/managed-lustre/docs/locations
51+
52+
# # Managed-Lustre instance name. This should be unique for each deployment.
53+
# lustre_instance_id: gke-lustre-instance
54+
55+
# # The values of size_gib and per_unit_storage_throughput are co-related
56+
# # Please refer https://cloud.google.com/managed-lustre/docs/create-instance#performance-tiers
57+
# # Storage capacity of the lustre instance in GiB
58+
# lustre_size_gib: 36000
59+
60+
# # Maximum throughput of the lustre instance in MBps per TiB
61+
# per_unit_storage_throughput: 500
62+
4763
deployment_groups:
4864
- group: primary
4965
modules:
@@ -156,6 +172,7 @@ deployment_groups:
156172
system_node_pool_taints: []
157173
enable_dcgm_monitoring: true
158174
enable_gcsfuse_csi: true
175+
enable_managed_lustre_csi: true # Enable Managed Lustre for the cluster
159176
enable_private_endpoint: false # Allows access from authorized public IPs
160177
configure_workload_identity_sa: true
161178
master_authorized_networks:
@@ -188,6 +205,48 @@ deployment_groups:
188205
exclusion_scope: NO_MINOR_OR_NODE_UPGRADES
189206
outputs: [instructions]
190207

208+
# # --- MANAGED LUSTRE ADDITIONS ---
209+
# # Private Service Access (PSA) requires the compute.networkAdmin role which is
210+
# # included in the Owner role, but not Editor.
211+
# # PSA is required for all Managed Lustre functionality.
212+
# # https://cloud.google.com/vpc/docs/configure-private-services-access#permissions
213+
# - id: private_service_access
214+
# source: community/modules/network/private-service-access
215+
# use: [gke-a3-ultra-net-0]
216+
# settings:
217+
# prefix_length: 24
218+
219+
# # Firewall to allow Managed Lustre connection
220+
# - id: lustre_firewall_rule
221+
# source: modules/network/firewall-rules
222+
# use: [gke-a3-ultra-net-0]
223+
# settings:
224+
# ingress_rules:
225+
# - name: $(vars.deployment_name)-allow-lustre-traffic
226+
# description: Allow Managed Lustre traffic
227+
# source_ranges:
228+
# - $(private_service_access.cidr_range)
229+
# allow:
230+
# - protocol: tcp
231+
# ports:
232+
# - "988"
233+
234+
# - id: managed-lustre
235+
# source: modules/file-system/managed-lustre
236+
# use: [gke-a3-ultra-net-0, private_service_access]
237+
# settings:
238+
# name: $(vars.lustre_instance_id)
239+
# local_mount: /lustre
240+
# remote_mount: lustrefs
241+
# size_gib: $(vars.lustre_size_gib)
242+
# per_unit_storage_throughput: $(vars.per_unit_storage_throughput)
243+
244+
# - id: lustre-pv
245+
# source: modules/file-system/gke-persistent-volume
246+
# use: [managed-lustre, a3-ultragpu-cluster]
247+
# settings:
248+
# capacity_gib: $(vars.lustre_size_gib)
249+
191250
- id: a3-ultragpu-pool
192251
source: modules/compute/gke-node-pool
193252
use: [a3-ultragpu-cluster, node_pool_service_account]

0 commit comments

Comments
 (0)