Skip to content

Commit

Permalink
Patch kustomize for GPUs to provision in regions without zones on Azu…
Browse files Browse the repository at this point in the history
…re (red-hat-data-services#1888)

* patch kustomize for regions without zones in azure

* add new lines
  • Loading branch information
bdattoma authored Oct 3, 2024
1 parent 0e7575d commit be27db5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
- op: remove
path: /spec/template/spec/providerSpec/value/zone
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
- op: replace
path: /spec/template/spec/providerSpec/value/vmSize
value: INSTANCE_TYPE
- op: remove
path: /spec/template/spec/providerSpec/value/zone

- op: replace
path: /spec/replicas
value: 1
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ patches:
- path: gpu.yaml
target:
kind: MachineSet
- path: gpu-remove-zone.yaml
target:
kind: MachineSet
name: ".*[^(westus)]" # regions without availability zones. If needed, add | <region name> after westus

0 comments on commit be27db5

Please sign in to comment.