Skip to content

Commit eee4325

Browse files
committed
Bump e2e k8s versions and update templates
Normal tests run with kubernetes v1.33.1. Upgrades are going from v1.32.5 to v1.33.1. Templates needed to be updated for v1.32 as the API server has dropped the cloud-provider flag. Sysext-bakery URLs also updated. Signed-off-by: Lennart Jern <[email protected]>
1 parent 792395c commit eee4325

File tree

8 files changed

+13
-31
lines changed

8 files changed

+13
-31
lines changed

kustomize/v1beta1/default/cluster-template.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ spec:
7373
cloud-provider: external
7474
provider-id: "openstack:///'{{ instance_id }}'"
7575
clusterConfiguration:
76-
apiServer:
77-
extraArgs:
78-
cloud-provider: external
7976
controllerManager:
8077
extraArgs:
8178
cloud-provider: external

kustomize/v1beta1/flatcar-sysext/patch-flatcar.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
mode: 0644
3939
contents:
4040
remote:
41-
url: https://github.com/flatcar/sysext-bakery/releases/download/latest/kubernetes-${KUBERNETES_VERSION%.*}.conf
41+
url: https://extensions.flatcar.org/extensions/kubernetes/kubernetes-${KUBERNETES_VERSION%.*}.conf
4242
- path: /etc/sysupdate.d/noop.conf
4343
mode: 0644
4444
contents:
@@ -47,7 +47,7 @@ spec:
4747
- path: /opt/extensions/kubernetes/kubernetes-${KUBERNETES_VERSION}-x86-64.raw
4848
contents:
4949
remote:
50-
url: https://github.com/flatcar/sysext-bakery/releases/download/latest/kubernetes-${KUBERNETES_VERSION}-x86-64.raw
50+
url: https://extensions.flatcar.org/extensions/kubernetes-${KUBERNETES_VERSION}-x86-64.raw
5151
systemd:
5252
units:
5353
- name: systemd-sysupdate.service

templates/cluster-template-flatcar-sysext.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ metadata:
135135
spec:
136136
kubeadmConfigSpec:
137137
clusterConfiguration:
138-
apiServer:
139-
extraArgs:
140-
cloud-provider: external
141138
controllerManager:
142139
extraArgs:
143140
cloud-provider: external

templates/cluster-template-flatcar.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@ metadata:
9797
spec:
9898
kubeadmConfigSpec:
9999
clusterConfiguration:
100-
apiServer:
101-
extraArgs:
102-
cloud-provider: external
103100
controllerManager:
104101
extraArgs:
105102
cloud-provider: external

templates/cluster-template-without-lb.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ metadata:
7373
spec:
7474
kubeadmConfigSpec:
7575
clusterConfiguration:
76-
apiServer:
77-
extraArgs:
78-
cloud-provider: external
7976
controllerManager:
8077
extraArgs:
8178
cloud-provider: external

templates/cluster-template.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,6 @@ metadata:
7373
spec:
7474
kubeadmConfigSpec:
7575
clusterConfiguration:
76-
apiServer:
77-
extraArgs:
78-
cloud-provider: external
7976
controllerManager:
8077
extraArgs:
8178
cloud-provider: external

templates/clusterclass-dev-test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -308,9 +308,6 @@ spec:
308308
spec:
309309
kubeadmConfigSpec:
310310
clusterConfiguration:
311-
apiServer:
312-
extraArgs:
313-
cloud-provider: external
314311
controllerManager:
315312
extraArgs:
316313
cloud-provider: external

test/e2e/data/e2e_conf.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,12 @@ providers:
161161
variables:
162162
# used to ensure we deploy to the correct management cluster
163163
KUBE_CONTEXT: "kind-capo-e2e"
164-
KUBERNETES_VERSION: "v1.31.2"
165-
KUBERNETES_VERSION_UPGRADE_FROM: "v1.30.1"
166-
KUBERNETES_VERSION_UPGRADE_TO: "v1.31.2"
164+
KUBERNETES_VERSION: "v1.33.1"
165+
KUBERNETES_VERSION_UPGRADE_FROM: "v1.32.5"
166+
KUBERNETES_VERSION_UPGRADE_TO: "v1.33.1"
167167
# NOTE: To see default images run kubeadm config images list (optionally with --kubernetes-version=vX.Y.Z)
168-
ETCD_VERSION_UPGRADE_TO: "3.5.12-0"
169-
COREDNS_VERSION_UPGRADE_TO: "v1.11.1"
168+
ETCD_VERSION_UPGRADE_TO: "3.5.21-0"
169+
COREDNS_VERSION_UPGRADE_TO: "v1.12.0"
170170
CONTROL_PLANE_MACHINE_TEMPLATE_UPGRADE_TO: "upgrade-to-control-plane"
171171
WORKERS_MACHINE_TEMPLATE_UPGRADE_TO: "upgrade-to-md-0"
172172
CNI: "../../data/cni/calico.yaml"
@@ -186,10 +186,10 @@ variables:
186186
OPENSTACK_DNS_NAMESERVERS: "8.8.8.8"
187187
OPENSTACK_FAILURE_DOMAIN: "testaz1"
188188
OPENSTACK_FAILURE_DOMAIN_ALT: "testaz2"
189-
OPENSTACK_IMAGE_NAME: "ubuntu-2404-kube-v1.31.2"
190-
OPENSTACK_IMAGE_URL: https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/ubuntu/2024-11-21/ubuntu-2404-kube-v1.31.2.img
191-
OPENSTACK_IMAGE_NAME_UPGRADE_FROM: "ubuntu-2204-kube-v1.30.1"
192-
OPENSTACK_IMAGE_URL_UPGRADE_FROM: https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/ubuntu/2024-05-28/ubuntu-2204-kube-v1.30.1.img
189+
OPENSTACK_IMAGE_NAME: "ubuntu-2404-kube-v1.33.1"
190+
OPENSTACK_IMAGE_URL: https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/ubuntu/ubuntu-2404-kube-v1.33.1
191+
OPENSTACK_IMAGE_NAME_UPGRADE_FROM: "ubuntu-2404-kube-v1.32.5"
192+
OPENSTACK_IMAGE_URL_UPGRADE_FROM: https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/ubuntu/ubuntu-2404-kube-v1.32.5
193193
OPENSTACK_NODE_MACHINE_FLAVOR: "m1.small"
194194
OPENSTACK_SSH_KEY_NAME: "cluster-api-provider-openstack-sigs-k8s-io"
195195
# The default external network created by devstack
@@ -202,8 +202,8 @@ variables:
202202
SSH_USER_MACHINE: "ubuntu"
203203
EXP_KUBEADM_BOOTSTRAP_FORMAT_IGNITION: "true"
204204
# The Flatcar image produced by the image-builder
205-
OPENSTACK_FLATCAR_IMAGE_NAME: "flatcar-stable-4152.2.0-kube-v1.31.2"
206-
OPENSTACK_FLATCAR_IMAGE_URL: "https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/flatcar/flatcar-stable-4152.2.0-kube-v1.31.2.img"
205+
OPENSTACK_FLATCAR_IMAGE_NAME: "flatcar-stable-4152.2.3-kube-v1.33.1"
206+
OPENSTACK_FLATCAR_IMAGE_URL: "https://storage.googleapis.com/artifacts.k8s-staging-capi-openstack.appspot.com/test/flatcar/flatcar-stable-4152.2.3-kube-v1.33.1"
207207
# A plain Flatcar from the Flatcar releases server
208208
FLATCAR_IMAGE_NAME: "flatcar_production_openstack_image"
209209
FLATCAR_IMAGE_URL: https://stable.release.flatcar-linux.net/amd64-usr/current/flatcar_production_openstack_image.img

0 commit comments

Comments
 (0)