Skip to content

Commit

Permalink
Bump Kubernetes to v1.32 and add new OVA's
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Dec 13, 2024
1 parent 5bb63a0 commit ab4b472
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 17 deletions.
1 change: 1 addition & 0 deletions internal/test/helpers/vcsim/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ var (
"ubuntu-2204-kube-v1.29.0",
"ubuntu-2204-kube-v1.30.0",
"ubuntu-2404-kube-v1.31.0",
"ubuntu-2404-kube-v1.32.0",
}
)

Expand Down
2 changes: 1 addition & 1 deletion packaging/flavorgen/cloudprovider/cpi/cpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ spec:
priorityClassName: system-node-critical
containers:
- name: vsphere-cpi
image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.31.0
image: registry.k8s.io/cloud-pv-vsphere/cloud-provider-vsphere:v1.32.1
imagePullPolicy: IfNotPresent
args:
- --cloud-provider=vsphere
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/config/config-overrides-example.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ variables:
VSPHERE_DATASTORE: "WorkloadDatastore"
VSPHERE_STORAGE_POLICY: "Cluster API vSphere Storage Policy"
VSPHERE_NETWORK: "network-1"
VSPHERE_TEMPLATE: "ubuntu-2404-kube-v1.31.0"
FLATCAR_VSPHERE_TEMPLATE: "flatcar-stable-3975.2.0-kube-v1.31.0"
VSPHERE_TEMPLATE: "ubuntu-2404-kube-v1.32.0"
FLATCAR_VSPHERE_TEMPLATE: "flatcar-stable-3975.2.0-kube-v1.32.0"
CONTROL_PLANE_ENDPOINT_IP: "10.0.0.10"
# Only for clusterctl upgrade tests
# WORKLOAD_CONTROL_PLANE_ENDPOINT_IP:
Expand All @@ -27,7 +27,7 @@ variables:
VSPHERE2_SERVER: "vcenter2.vmware.com"
VSPHERE2_TLS_THUMBPRINT: "AA:BB:CC:DD:11:22:33:44:EE:FF"
VSPHERE2_RESOURCE_POOL: "ResourcePool"
VSPHERE2_TEMPLATE: "ubuntu-2404-kube-v1.31.0"
VSPHERE2_TEMPLATE: "ubuntu-2404-kube-v1.32.0"
VSPHERE2_CONTROL_PLANE_ENDPOINT_IP: "10.0.0.11"
# Also following variables are required but it is recommended to use env variables to avoid disclosure of sensitive data
# VSPHERE2_USERNAME:
Expand Down
16 changes: 8 additions & 8 deletions test/e2e/config/vsphere.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,12 +279,12 @@ providers:

variables:
# Ensure all Kubernetes versions used here are covered in patch-vsphere-template.yaml
KUBERNETES_VERSION_MANAGEMENT: "v1.32.0-rc.1"
KUBERNETES_VERSION: "v1.32.0-rc.1"
KUBERNETES_VERSION_MANAGEMENT: "v1.32.0"
KUBERNETES_VERSION: "v1.32.0"
KUBERNETES_VERSION_UPGRADE_FROM: "v1.31.0"
KUBERNETES_VERSION_UPGRADE_TO: "v1.32.0-rc.1"
KUBERNETES_VERSION_UPGRADE_TO: "v1.32.0"
KUBERNETES_VERSION_LATEST_CI: "ci/latest-1.33"
CPI_IMAGE_K8S_VERSION: "v1.32.0-rc.0"
CPI_IMAGE_K8S_VERSION: "v1.32.1"
CNI: "./data/cni/calico/calico.yaml"
AUTOSCALER_WORKLOAD: "./data/autoscaler/autoscaler-to-management-workload.yaml"
EXP_CLUSTER_RESOURCE_SET: "true"
Expand All @@ -311,12 +311,12 @@ variables:
VSPHERE_MACHINE_CLASS_CPU_CONFORMANCE: "2"
VSPHERE_MACHINE_CLASS_MEMORY_CONFORMANCE: "2Gi"
VSPHERE_CONTENT_LIBRARY: "capv"
VSPHERE_CONTENT_LIBRARY_ITEMS: "ubuntu-2204-kube-v1.28.0,ubuntu-2204-kube-v1.29.0,ubuntu-2204-kube-v1.30.0,ubuntu-2404-kube-v1.31.0"
VSPHERE_IMAGE_NAME: "ubuntu-2404-kube-v1.31.0"
VSPHERE_CONTENT_LIBRARY_ITEMS: "ubuntu-2204-kube-v1.28.0,ubuntu-2204-kube-v1.29.0,ubuntu-2204-kube-v1.30.0,ubuntu-2404-kube-v1.31.0,ubuntu-2404-kube-v1.32.0"
VSPHERE_IMAGE_NAME: "ubuntu-2404-kube-v1.32.0"
VSPHERE_NETWORK: "sddc-cgw-network-10"
VSPHERE_DISTRIBUTED_PORT_GROUP: "/SDDC-Datacenter/network/sddc-cgw-network-10"
VSPHERE_TEMPLATE: "ubuntu-2404-kube-v1.31.0"
FLATCAR_VSPHERE_TEMPLATE: "flatcar-stable-3975.2.0-kube-v1.31.0"
VSPHERE_TEMPLATE: "ubuntu-2404-kube-v1.32.0"
FLATCAR_VSPHERE_TEMPLATE: "flatcar-stable-4081.2.0-kube-v1.32.0"
KUBETEST_CONFIGURATION: "./data/kubetest/conformance.yaml"
NODE_DRAIN_TIMEOUT: "60s"
CLUSTER_TOPOLOGY: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
ubuntu-2204-kube-v1.29.0
{{- else if eq .builtin.controlPlane.version "v1.30.0" -}}
ubuntu-2204-kube-v1.30.0
{{- else -}}
{{- else if eq .builtin.controlPlane.version "v1.31.0" -}}
ubuntu-2404-kube-v1.31.0
{{- else -}}
ubuntu-2404-kube-v1.32.0
{{- end -}}
selector:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
Expand All @@ -36,9 +38,11 @@
ubuntu-2204-kube-v1.29.0
{{- else if eq .builtin.machineDeployment.version "v1.30.0" -}}
ubuntu-2204-kube-v1.30.0
{{- else -}}
{{- else if eq .builtin.controlPlane.version "v1.31.0" -}}
ubuntu-2404-kube-v1.31.0
{{- end -}}
{{- else -}}
ubuntu-2404-kube-v1.32.0
{{- end -}}`
selector:
apiVersion: infrastructure.cluster.x-k8s.io/v1beta1
kind: VSphereMachineTemplate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@
ubuntu-2204-kube-v1.29.0
{{- else if eq .builtin.controlPlane.version "v1.30.0" -}}
ubuntu-2204-kube-v1.30.0
{{- else -}}
{{- else if eq .builtin.controlPlane.version "v1.31.0" -}}
ubuntu-2404-kube-v1.31.0
{{- else -}}
ubuntu-2404-kube-v1.32.0
{{- end -}}
selector:
apiVersion: vmware.infrastructure.cluster.x-k8s.io/v1beta1
Expand All @@ -36,8 +38,10 @@
ubuntu-2204-kube-v1.29.0
{{- else if eq .builtin.machineDeployment.version "v1.30.0" -}}
ubuntu-2204-kube-v1.30.0
{{- else -}}
{{- else if eq .builtin.controlPlane.version "v1.31.0" -}}
ubuntu-2404-kube-v1.31.0
{{- else -}}
ubuntu-2404-kube-v1.32.0
{{- end -}}
selector:
apiVersion: vmware.infrastructure.cluster.x-k8s.io/v1beta1
Expand Down

0 comments on commit ab4b472

Please sign in to comment.