Skip to content

Commit f98e8b5

Browse files
Merge pull request #1844 from rancher/v0-24_bump_k8s_v1-33
[release-v0.24] Bump to v1.33
2 parents bd5f1c8 + 47ab482 commit f98e8b5

File tree

11 files changed

+39
-27
lines changed

11 files changed

+39
-27
lines changed

.github/workflows/run-vsphere-tests.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ env:
1212
VSPHERE_DATACENTER: ${{ secrets.VSPHERE_DATACENTER }}
1313
VSPHERE_DATASTORE: ${{ secrets.VSPHERE_DATASTORE }}
1414
VSPHERE_FOLDER: ${{ secrets.VSPHERE_FOLDER }}
15-
VSPHERE_TEMPLATE: ${{ secrets.VSPHERE_TEMPLATE }}
1615
VSPHERE_NETWORK: ${{ secrets.VSPHERE_NETWORK }}
1716
VSPHERE_RESOURCE_POOL: ${{ secrets.VSPHERE_RESOURCE_POOL }}
1817
VSPHERE_USERNAME: ${{ secrets.VSPHERE_USERNAME }}

charts/rancher-turtles/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ keywords:
1414
annotations:
1515
catalog.cattle.io/certified: rancher
1616
catalog.cattle.io/display-name: Rancher Turtles - the Cluster API Extension
17-
catalog.cattle.io/kube-version: '>= 1.31.4-0 < 1.32.0-0'
17+
catalog.cattle.io/kube-version: '>= 1.31.4-0 < 1.34.0-0'
1818
catalog.cattle.io/namespace: rancher-turtles-system
1919
catalog.cattle.io/os: linux
2020
catalog.cattle.io/permits-os: linux

examples/clusterclasses/aws/kubeadm/clusterclass-kubeadm-example.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -208,13 +208,6 @@ spec:
208208
template:
209209
spec:
210210
kubeadmConfigSpec:
211-
clusterConfiguration:
212-
apiServer:
213-
extraArgs:
214-
cloud-provider: external
215-
controllerManager:
216-
extraArgs:
217-
cloud-provider: external
218211
initConfiguration:
219212
nodeRegistration:
220213
kubeletExtraArgs:

examples/clusterclasses/azure/kubeadm/clusterclass-kubeadm-example.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,12 +265,10 @@ spec:
265265
kubeadmConfigSpec:
266266
clusterConfiguration:
267267
apiServer:
268-
extraArgs: {}
269268
timeoutForControlPlane: 20m
270269
controllerManager:
271270
extraArgs:
272271
allocate-node-cidrs: "false"
273-
cloud-provider: external
274272
cluster-name: "TO_BE_REPLACED_BY_PATCH"
275273
etcd:
276274
local:

examples/clusterclasses/gcp/kubeadm/clusterclass-kubeadm-example.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,8 @@ spec:
194194
clusterConfiguration:
195195
apiServer:
196196
timeoutForControlPlane: 20m
197-
extraArgs:
198-
cloud-provider: external
199197
controllerManager:
200198
extraArgs:
201-
cloud-provider: external
202199
allocate-node-cidrs: "false"
203200
initConfiguration:
204201
nodeRegistration:

test/e2e/config/operator.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,34 +38,43 @@ variables:
3838
SECRET_KEYS: "NGROK_AUTHTOKEN,NGROK_API_KEY,RANCHER_HOSTNAME,RANCHER_PASSWORD,CAPG_ENCODED_CREDS,AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY,AZURE_SUBSCRIPTION_ID,AZURE_CLIENT_ID,AZURE_CLIENT_SECRET,AZURE_TENANT_ID,GCP_PROJECT,GCP_NETWORK_NAME,GCP_IMAGE_ID,VSPHERE_TLS_THUMBPRINT,VSPHERE_SERVER,VSPHERE_DATACENTER,VSPHERE_DATASTORE,VSPHERE_FOLDER,VSPHERE_TEMPLATE,VSPHERE_NETWORK,VSPHERE_RESOURCE_POOL,VSPHERE_USERNAME,VSPHERE_PASSWORD,VSPHERE_KUBE_VIP_IP_KUBEADM,VSPHERE_KUBE_VIP_IP_RKE2,DOCKER_REGISTRY_TOKEN,DOCKER_REGISTRY_USERNAME,DOCKER_REGISTRY_CONFIG"
3939

4040
# Kubernetes Configuration
41-
KUBERNETES_VERSION: "v1.31.4"
42-
KUBERNETES_MANAGEMENT_VERSION: "v1.31.4"
43-
RKE2_VERSION: "v1.31.7+rke2r1"
41+
KUBERNETES_VERSION: "v1.33.5"
42+
KUBERNETES_MANAGEMENT_VERSION: "v1.32.3"
43+
RKE2_VERSION: "v1.33.5+rke2r1"
4444
RKE2_CNI: "none"
4545

4646
# Azure Configuration
4747
#
4848
# Azure Kubeadm tests need specific k8s version.
4949
# This is due to the limited availability of published AMIs.
50-
# For example: https://portal.azure.com/#@suseazuredev.onmicrosoft.com/resource/providers/Microsoft.Compute/locations/FranceCentral/CommunityGalleries/ClusterAPI-f72ceb4f-5159-4c26-a0fe-2ea738f0d019/Images/capi-ubun2-2204/overview
51-
AZURE_KUBERNETES_VERSION: "v1.31.1"
50+
# For example: https://portal.azure.com/#view/Microsoft_Azure_ComputeHub/ComputeHubMenuBlade/~/communityImagesBrowse
51+
# Filter `capi-ubun2-2404` images. Beware: not all versions are published on all regions.
52+
AZURE_KUBERNETES_VERSION: "v1.33.5"
53+
AZURE_AKS_KUBERNETES_VERSION: "v1.33.3"
5254

5355
# AWS Configuration
5456
#
5557
# AWS Kubeadm tests need specific k8s version.
5658
# This is due to the limited availability of published AMIs.
5759
# For a complete list, run: clusterawsadm ami list
58-
AWS_KUBERNETES_VERSION: "v1.31.0"
60+
# Alternatively, seach for `capa-ami` in https://eu-west-2.console.aws.amazon.com/ec2/home?region=eu-west-2#AMICatalog:
61+
AWS_KUBERNETES_VERSION: "v1.33.5"
5962
AWS_REGION: "eu-west-2"
6063
KUBERNETES_MANAGEMENT_AWS_REGION: "eu-west-2"
6164
AWS_CONTROL_PLANE_MACHINE_TYPE: "t3.large"
6265
AWS_NODE_MACHINE_TYPE: "t3.large"
6366
AWS_RKE2_CONTROL_PLANE_MACHINE_TYPE: "t3.xlarge"
6467
AWS_RKE2_NODE_MACHINE_TYPE: "t3.xlarge"
65-
AWS_AMI_ID: "ami-012e88f0aa221423a" # Public upstream AMI
68+
AWS_AMI_ID: "ami-0cd9e4e7906f4c9dd" # Private AMI present only in eu-west-2
6669

6770
# GCP Configuration
6871
GCP_MACHINE_TYPE: "n1-standard-2"
72+
73+
# vSphere Configuration
74+
VSPHERE_TEMPLATE: "turtles-ci/ubuntu-2404-kube-v1.33.5"
75+
76+
# Docker Configuration
77+
DOCKER_KUBERNETES_VERSION: "v1.33.4"
6978

7079
# CLI Tool Paths
7180
CLUSTERCTL_BINARY_PATH: ""
@@ -97,7 +106,6 @@ variables:
97106
CERT_MANAGER_REPO_NAME: "jetstack"
98107
CERT_MANAGER_URL: "https://charts.jetstack.io"
99108
CERT_MANAGER_PATH: "jetstack/cert-manager"
100-
CPI_IMAGE_K8S_VERSION: "v1.31.0"
101109

102110
# Ingress Configuration (Ngrok)
103111
NGROK_REPO_NAME: "ngrok"

test/e2e/const.go

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,12 @@ const (
159159

160160
BootstrapClusterNameVar = "BOOTSTRAP_CLUSTER_NAME"
161161

162-
KubernetesVersionVar = "KUBERNETES_VERSION"
163-
AWSKubernetesVersionVar = "AWS_KUBERNETES_VERSION"
164-
AzureKubernetesVersionVar = "AZURE_KUBERNETES_VERSION"
165-
RancherHostnameVar = "RANCHER_HOSTNAME"
162+
KubernetesVersionVar = "KUBERNETES_VERSION"
163+
AWSKubernetesVersionVar = "AWS_KUBERNETES_VERSION"
164+
AzureKubernetesVersionVar = "AZURE_KUBERNETES_VERSION"
165+
AzureAKSKubernetesVersionVar = "AZURE_AKS_KUBERNETES_VERSION"
166+
DockerKubernetesVersionVar = "DOCKER_KUBERNETES_VERSION"
167+
RancherHostnameVar = "RANCHER_HOSTNAME"
166168

167169
ArtifactsFolderVar = "ARTIFACTS_FOLDER"
168170
UseExistingClusterVar = "USE_EXISTING_CLUSTER"

test/e2e/data/cluster-templates/aws-eks-mmp.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,5 @@ metadata:
7474
namespace: "${NAMESPACE}"
7575
annotations:
7676
"helm.sh/resource-policy": keep
77-
spec: {}
77+
spec:
78+
amiType: AL2023_x86_64_STANDARD

test/e2e/data/cluster-templates/aws-kubeadm-topology.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ spec:
3434
value: ${AWS_CONTROL_PLANE_MACHINE_TYPE}
3535
- name: workerMachineType
3636
value: ${AWS_NODE_MACHINE_TYPE}
37+
- name: amiID
38+
value: ${AWS_AMI_ID}
3739
- name: awsClusterIdentityName
3840
value: cluster-identity
3941
version: ${AWS_KUBERNETES_VERSION}

test/e2e/suites/chart-upgrade/chart_upgrade_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ var _ = Describe("Chart upgrade functionality should work", Ordered, Label(e2e.S
114114
TopologyNamespace: topologyNamespace,
115115
SkipCleanup: true,
116116
SkipDeletionTest: true,
117+
AdditionalTemplateVariables: map[string]string{
118+
e2e.KubernetesVersionVar: e2e.LoadE2EConfig().GetVariableOrEmpty(e2e.DockerKubernetesVersionVar), // override the default k8s version
119+
},
117120
AdditionalFleetGitRepos: []framework.FleetCreateGitRepoInput{
118121
{
119122
Name: "docker-cluster-classes-regular",

0 commit comments

Comments
 (0)