Skip to content

Commit 094e9ee

Browse files
Merge pull request GoogleCloudPlatform#4253 from SwarnaBharathiMantena/swarnabm/update-reservation-variable
Modify reservation variable to accommodate different reservation options, in the A3 Mega, A3 Ultra, A4, A4X GKE blueprints.
2 parents 16bbabc + 04841ec commit 094e9ee

11 files changed

Lines changed: 31 additions & 31 deletions

File tree

examples/gke-a3-megagpu/gke-a3-megagpu-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ vars:
4242

4343
# The name of the compute engine reservation in the form of
4444
# <reservation-name>
45-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
46-
# <reservation-name>/reservationBlocks/<reservation-block-name>
47-
extended_reservation: RESERVATION_NAME
45+
# To target a BLOCK_NAME, the name of the extended reservation
46+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
47+
reservation: RESERVATION_NAME

examples/gke-a3-megagpu/gke-a3-megagpu.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ vars:
4343

4444
# The name of the compute engine reservation in the form of
4545
# <reservation-name>
46-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
47-
# <reservation-name>/reservationBlocks/<reservation-block-name>
48-
extended_reservation:
46+
# To target a BLOCK_NAME, the name of the extended reservation
47+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
48+
reservation:
4949

5050
accelerator_type: nvidia-h100-mega-80gb
5151
version_prefix: "1.32."
@@ -130,7 +130,7 @@ deployment_groups:
130130
reservation_affinity:
131131
consume_reservation_type: SPECIFIC_RESERVATION
132132
specific_reservations:
133-
- name: $(vars.extended_reservation)
133+
- name: $(vars.reservation)
134134
outputs: [instructions]
135135

136136
- id: workload_manager_install

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ vars:
2828
authorized_cidr: IP_ADDRESS/SUFFIX
2929
# The name of the compute engine reservation in the form of
3030
# <reservation-name>
31-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
32-
# <reservation-name>/reservationBlocks/<reservation-block-name>
33-
extended_reservation: RESERVATION_NAME
31+
# To target a BLOCK_NAME, the name of the extended reservation
32+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
33+
reservation: RESERVATION_NAME
3434
static_node_count: NODE_COUNT
3535
system_node_pool_disk_size_gb: SYSTEM_NODE_POOL_DISK_SIZE_GB # the size of
3636
# disk for each node of the system node pool.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ vars:
2424
authorized_cidr: # add this
2525
# The name of the compute engine reservation in the form of
2626
# <reservation-name>
27-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
28-
# <reservation-name>/reservationBlocks/<reservation-block-name>
29-
extended_reservation: # add this
27+
# To target a BLOCK_NAME, the name of the extended reservation
28+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
29+
reservation: # add this
3030
kueue_configuration_path: $(ghpc_stage("./kueue-configuration.yaml.tftpl"))
3131
gib_installer_path: $(ghpc_stage("./nccl-installer.yaml.tftpl"))
3232
static_node_count: # add this
@@ -191,7 +191,7 @@ deployment_groups:
191191
reservation_affinity:
192192
consume_reservation_type: SPECIFIC_RESERVATION
193193
specific_reservations:
194-
- name: $(vars.extended_reservation)
194+
- name: $(vars.reservation)
195195
additional_networks:
196196
$(concat(
197197
[{

examples/gke-a4/gke-a4-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ vars:
4242

4343
# The name of the compute engine reservation in the form of
4444
# <reservation-name>
45-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
46-
# <reservation-name>/reservationBlocks/<reservation-block-name>
47-
extended_reservation:
45+
# To target a BLOCK_NAME, the name of the extended reservation
46+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
47+
reservation:
4848

4949
# The disk size of system node pool for this deployment.
5050
system_node_pool_disk_size_gb:

examples/gke-a4/gke-a4.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ vars:
3939

4040
# The name of the compute engine reservation in the form of
4141
# <reservation-name>
42-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
43-
# <reservation-name>/reservationBlocks/<reservation-block-name>
44-
extended_reservation:
42+
# To target a BLOCK_NAME, the name of the extended reservation
43+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
44+
reservation:
4545

4646
kueue_configuration_path: $(ghpc_stage("./kueue-configuration.yaml.tftpl"))
4747
gib_installer_path: $(ghpc_stage("./nccl-installer.yaml.tftpl"))
@@ -207,7 +207,7 @@ deployment_groups:
207207
reservation_affinity:
208208
consume_reservation_type: SPECIFIC_RESERVATION
209209
specific_reservations:
210-
- name: $(vars.extended_reservation)
210+
- name: $(vars.reservation)
211211
additional_networks:
212212
$(concat(
213213
[{

examples/gke-a4x/gke-a4x-deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ vars:
4242

4343
# The name of the compute engine reservation in the form of
4444
# <reservation-name>
45-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
46-
# <reservation-name>/reservationBlocks/<reservation-block-name>
47-
extended_reservation:
45+
# To target a BLOCK_NAME, the name of the extended reservation
46+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
47+
reservation:
4848

4949
# The disk size of system node pool for this deployment.
5050
system_node_pool_disk_size_gb:

examples/gke-a4x/gke-a4x.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ vars:
4444

4545
# The name of the compute engine reservation of A4X nodes in the form of
4646
# <project>/<reservation-name>
47-
# In order to target a BLOCK_NAME, extended_reservation can be inputted as
48-
# <project>/<reservation-name>/reservationBlocks/<reservation-block-name>
49-
extended_reservation:
47+
# To target a BLOCK_NAME, the name of the extended reservation
48+
# can be inputted as <reservation-name>/reservationBlocks/<reservation-block-name>
49+
reservation:
5050
compute_nodepool_machine_type: a4x-highgpu-4g-nolssd
5151
system_nodepool_machine_type: e2-standard-16
5252

@@ -233,7 +233,7 @@ deployment_groups:
233233
reservation_affinity:
234234
consume_reservation_type: SPECIFIC_RESERVATION
235235
specific_reservations:
236-
- name: $(vars.extended_reservation)
236+
- name: $(vars.reservation)
237237
additional_networks:
238238
$(concat(
239239
[{

tools/cloud-build/daily-tests/tests/gke-a3-megagpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cli_deployment_vars:
3333
region: "{{ region }}"
3434
zone: "{{ zone }}"
3535
static_node_count: "{{ static_node_count }}"
36-
extended_reservation: "{{ extended_reservation }}"
36+
reservation: "{{ extended_reservation }}"
3737
authorized_cidr: "{{ build_ip.stdout }}/32"
3838
network_name: "{{ network }}"
3939
local_ssd_count_nvme_block: 16

tools/cloud-build/daily-tests/tests/gke-a3-ultragpu.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ cli_deployment_vars:
3333
region: "{{ region }}"
3434
zone: "{{ zone }}"
3535
static_node_count: "{{ static_node_count }}"
36-
extended_reservation: "{{ extended_reservation }}"
36+
reservation: "{{ extended_reservation }}"
3737
authorized_cidr: "{{ build_ip.stdout }}/32"
3838
gcp_public_cidrs_access_enabled: true
3939
custom_vars:

0 commit comments

Comments
 (0)