Skip to content

Commit

Permalink
patch kustomize for regions without zones in azure
Browse files Browse the repository at this point in the history
  • Loading branch information
bdattoma committed Oct 3, 2024
1 parent cfd4616 commit fa77b8b
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 fa77b8b

Please sign in to comment.