@@ -320,6 +320,8 @@ export AZURE_CLIENT_SECRET_B64="$(echo -n "$AZURE_CLIENT_SECRET" | base64 | tr -
320
320
SSH_KEY_FILE="capi-quickstart.ssh-key"
321
321
ssh-keygen -t rsa -b 2048 -f "${SSH_KEY_FILE}" -N '' 1>/dev/null
322
322
export SSH_PUBLIC_KEY=$(cat "${SSH_KEY_FILE}.pub" | base64 | tr -d '\r\n ')
323
+ # Change this value to the region you want to deploy the cluster in.
324
+ export AZURE_LOCATION="southcentralus"
323
325
` ` `
324
326
325
327
` ` ` bash
@@ -339,7 +341,7 @@ metadata:
339
341
cluster.x-k8s.io/control-plane: "true"
340
342
cluster.x-k8s.io/cluster-name: "capi-quickstart"
341
343
spec:
342
- version: v1.16.1
344
+ version: v1.16.6
343
345
bootstrap:
344
346
configRef:
345
347
apiVersion: bootstrap.cluster.x-k8s.io/v1alpha3
@@ -355,12 +357,7 @@ kind: AzureMachine
355
357
metadata:
356
358
name: capi-quickstart-controlplane-0
357
359
spec:
358
- image:
359
- offer: capi
360
- publisher: cncf-upstream
361
- sku: k8s-1dot16-ubuntu-1804
362
- version: latest
363
- location: southcentralus
360
+ location: ${AZURE_LOCATION}
364
361
osDisk:
365
362
diskSizeGB: 30
366
363
managedDisk:
@@ -893,6 +890,8 @@ export AZURE_CLIENT_SECRET_B64="$(echo -n "$AZURE_CLIENT_SECRET" | base64 | tr -
893
890
SSH_KEY_FILE="capi-quickstart.ssh-key"
894
891
ssh-keygen -t rsa -b 2048 -f "${SSH_KEY_FILE}" -N '' 1>/dev/null
895
892
export SSH_PUBLIC_KEY=$(cat "${SSH_KEY_FILE}.pub" | base64 | tr -d '\r\n ')
893
+ # Change this value to the region you want to deploy the cluster in.
894
+ export AZURE_LOCATION="southcentralus"
896
895
` ` `
897
896
898
897
` ` ` bash
@@ -926,7 +925,7 @@ spec:
926
925
cluster.x-k8s.io/cluster-name: capi-quickstart
927
926
nodepool: nodepool-0
928
927
spec:
929
- version: v1.16.1
928
+ version: v1.16.6
930
929
bootstrap:
931
930
configRef:
932
931
name: capi-quickstart-node
@@ -944,13 +943,8 @@ metadata:
944
943
spec:
945
944
template:
946
945
spec:
947
- location: southcentralus
946
+ location: ${AZURE_LOCATION}
948
947
vmSize: Standard_B2ms
949
- image:
950
- publisher: "cncf-upstream"
951
- offer: "capi"
952
- sku: "k8s-1dot16-ubuntu-1804"
953
- version: "latest"
954
948
osDisk:
955
949
osType: "Linux"
956
950
diskSizeGB: 30
0 commit comments