Skip to content

Commit aaf677b

Browse files
committed
update e2e tests to use 1.22.0
1 parent eced64a commit aaf677b

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

docs/book/src/developers/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export CONTROL_PLANE_MACHINE_COUNT=3
296296
export AZURE_CONTROL_PLANE_MACHINE_TYPE="Standard_D2s_v3"
297297
export AZURE_NODE_MACHINE_TYPE="Standard_D2s_v3"
298298
export WORKER_MACHINE_COUNT=2
299-
export KUBERNETES_VERSION="v1.21.2"
299+
export KUBERNETES_VERSION="v1.22.0"
300300

301301
# Generate SSH key.
302302
# If you want to provide your own key, skip this step and set AZURE_SSH_PUBLIC_KEY_B64 to your existing file.

docs/book/src/topics/failure-domains.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ metadata:
115115
name: controlplane-0
116116
namespace: default
117117
spec:
118-
version: "v1.21.2"
118+
version: "v1.22.0"
119119
clusterName: my-cluster
120120
failureDomain: "1"
121121
bootstrap:

docs/book/src/topics/gpu.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ AZURE_CONTROL_PLANE_MACHINE_TYPE=Standard_D2s_v3 \
2828
AZURE_NODE_MACHINE_TYPE=Standard_NC6s_v3 \
2929
AZURE_LOCATION=southcentralus \
3030
clusterctl generate cluster azure-gpu \
31-
--kubernetes-version=v1.21.2 \
31+
--kubernetes-version=v1.22.0 \
3232
--worker-machine-count=1 \
3333
--flavor=nvidia-gpu > azure-gpu-cluster.yaml
3434
```
@@ -71,8 +71,8 @@ NAME PHASE
7171
azure-gpu Provisioned
7272
$ kubectl get machines
7373
NAME PROVIDERID PHASE VERSION
74-
azure-gpu-control-plane-t94nm azure:////subscriptions/<subscription_id>/resourceGroups/azure-gpu/providers/Microsoft.Compute/virtualMachines/azure-gpu-control-plane-nnb57 Running v1.21.2
75-
azure-gpu-md-0-f6b88dd78-vmkph azure:////subscriptions/<subscription_id>/resourceGroups/azure-gpu/providers/Microsoft.Compute/virtualMachines/azure-gpu-md-0-gcc8v Running v1.21.2
74+
azure-gpu-control-plane-t94nm azure:////subscriptions/<subscription_id>/resourceGroups/azure-gpu/providers/Microsoft.Compute/virtualMachines/azure-gpu-control-plane-nnb57 Running v1.22.0
75+
azure-gpu-md-0-f6b88dd78-vmkph azure:////subscriptions/<subscription_id>/resourceGroups/azure-gpu/providers/Microsoft.Compute/virtualMachines/azure-gpu-md-0-gcc8v Running v1.22.0
7676
```
7777

7878
Install a [CNI](https://cluster-api.sigs.k8s.io/user/quick-start.html#deploy-a-cni-solution) of your choice.
@@ -104,8 +104,8 @@ $ kubectl -n kube-system get po | grep nvidia
104104
kube-system nvidia-device-plugin-daemonset-d5dn6 1/1 Running 0 16m
105105
$ kubectl get nodes
106106
NAME STATUS ROLES AGE VERSION
107-
azure-gpu-control-plane-nnb57 Ready master 42m v1.21.2
108-
azure-gpu-md-0-gcc8v Ready <none> 38m v1.21.2
107+
azure-gpu-control-plane-nnb57 Ready master 42m v1.22.0
108+
azure-gpu-md-0-gcc8v Ready <none> 38m v1.22.0
109109
$ kubectl get node azure-gpu-md-0-gcc8v -o jsonpath={.status.allocatable} | jq
110110
{
111111
"attachable-volumes-azure-disk": "12",

docs/book/src/topics/machinepools.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ for that.
8989
Make sure to set up your Azure environment as described [here](https://cluster-api.sigs.k8s.io/user/quick-start.html).
9090

9191
```shell
92-
clusterctl generate cluster my-cluster --kubernetes-version v1.21.2 --flavor machinepool > my-cluster.yaml
92+
clusterctl generate cluster my-cluster --kubernetes-version v1.22.0 --flavor machinepool > my-cluster.yaml
9393
```
9494

9595
The template used for this [flavor](https://cluster-api.sigs.k8s.io/clusterctl/commands/generate-cluster.html#flavors)
@@ -119,7 +119,7 @@ spec:
119119
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4
120120
kind: AzureMachinePool
121121
name: capz-mp-0
122-
version: v1.21.2
122+
version: v1.22.0
123123
---
124124
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha4
125125
kind: AzureMachinePool

hack/create-dev-cluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export CONTROL_PLANE_MACHINE_COUNT=${CONTROL_PLANE_MACHINE_COUNT:-3}
4747
export AZURE_CONTROL_PLANE_MACHINE_TYPE="${CONTROL_PLANE_MACHINE_TYPE:-Standard_D2s_v3}"
4848
export AZURE_NODE_MACHINE_TYPE="${NODE_MACHINE_TYPE:-Standard_D2s_v3}"
4949
export WORKER_MACHINE_COUNT=${WORKER_MACHINE_COUNT:-2}
50-
export KUBERNETES_VERSION="${KUBERNETES_VERSION:-v1.21.2}"
50+
export KUBERNETES_VERSION="${KUBERNETES_VERSION:-v1.22.0}"
5151
export CLUSTER_TEMPLATE="${CLUSTER_TEMPLATE:-cluster-template.yaml}"
5252

5353
# identity secret settings.

templates/flavors/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
In `clusterctl` the infrastructure provider authors can provide different type of cluster templates,
44
or flavors; use the --flavor flag to specify which flavor to use; e.g
55
```shell
6-
clusterctl config cluster my-cluster --kubernetes-version v1.21.2 \
6+
clusterctl config cluster my-cluster --kubernetes-version v1.22.0 \
77
--flavor external-cloud-provider > my-cluster.yaml
88
```
99
See [`clusterctl` flavors docs](https://cluster-api.sigs.k8s.io/clusterctl/commands/generate-cluster.html#flavors).
@@ -69,7 +69,7 @@ If you wish to override the default variables for flavor workers, you can specif
6969
"AZURE_LOCATION": "eastus",
7070
"AZURE_RESOURCE_GROUP": "test-resource-group-name",
7171
"CONTROL_PLANE_MACHINE_COUNT": "1",
72-
"KUBERNETES_VERSION": "v1.21.2",
72+
"KUBERNETES_VERSION": "v1.22.0",
7373
"AZURE_CONTROL_PLANE_MACHINE_TYPE": "Standard_D2s_v3",
7474
"WORKER_MACHINE_COUNT": "2",
7575
"AZURE_NODE_MACHINE_TYPE": "Standard_D2s_v3"
@@ -98,7 +98,7 @@ N-series node type just for the `nvidia-gpu` flavor in `tilt-settings.json` to o
9898
"metadata": {
9999
"AZURE_CONTROL_PLANE_MACHINE_TYPE": "Standard_D2s_v3",
100100
"AZURE_LOCATION": "southcentralus",
101-
"KUBERNETES_VERSION": "v1.21.2",
101+
"KUBERNETES_VERSION": "v1.22.0",
102102
"WORKER_MACHINE_COUNT": "1"
103103
}
104104
}

test/e2e/config/azure-dev.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,22 +94,22 @@ providers:
9494
targetName: "cluster-template-identity-from-env.yaml"
9595

9696
variables:
97-
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.21.2}"
97+
KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.22.0}"
9898
# using a different version for windows because of an issue on azure cloud provider
9999
# that only affects windows and external load balancer
100100
# https://github.com/kubernetes-sigs/cloud-provider-azure/issues/706
101-
WINDOWS_KUBERNETES_VERSION: "${WINDOWS_KUBERNETES_VERSION:-v1.19.11}"
101+
WINDOWS_KUBERNETES_VERSION: "${WINDOWS_KUBERNETES_VERSION:-v1.22.0}"
102102
AKS_KUBERNETES_VERSION: "${KUBERNETES_VERSION:-v1.19.9}"
103103
ETCD_VERSION_UPGRADE_TO: "3.4.3-0"
104104
COREDNS_VERSION_UPGRADE_TO: "1.6.7"
105-
KUBERNETES_VERSION_UPGRADE_TO: "${KUBERNETES_VERSION_UPGRADE_TO:-v1.21.2}"
105+
KUBERNETES_VERSION_UPGRADE_TO: "${KUBERNETES_VERSION_UPGRADE_TO:-v1.22.0}"
106106
KUBERNETES_VERSION_UPGRADE_FROM: "${KUBERNETES_VERSION_UPGRADE_FROM:-v1.19.11}"
107107
CNI: "${PWD}/templates/addons/calico.yaml"
108108
REDACT_LOG_SCRIPT: "${PWD}/hack/log/redact.sh"
109109
EXP_AKS: "true"
110110
EXP_MACHINE_POOL: "true"
111111
EXP_CLUSTER_RESOURCE_SET: "true"
112-
CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "v1.21.2"
112+
CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "v1.22.0"
113113
CONFORMANCE_WORKER_MACHINE_COUNT: "2"
114114
CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "${CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT:-1}"
115115
CONFORMANCE_IMAGE: "${CONFORMANCE_IMAGE:-}"

0 commit comments

Comments
 (0)