We are doing upgrade of kubernetes cluster deployed using cluster-api (capv- on vsphere infrastructure).
As part of upgrade , we are applying the following changes:
Applying clusterctl upgrade plan
Changing pre-post kubeadm commands
Changing spec.version (e.g. from 1.29.3 to 1.30.4)
Cluster is getting upgraded successfully. we can see all nodes are at 1.30.4. but KubeadmConfigSpec. ClusterConfiguration. KubernetesVersion is not getting updated automatically.
When we tried to update it manually , it fails as forbidden to update this field.
Any suggestion or any specific step in upgrade we are missing out ?
We are doing upgrade of kubernetes cluster deployed using cluster-api (capv- on vsphere infrastructure).
As part of upgrade , we are applying the following changes:
Cluster is getting upgraded successfully. we can see all nodes are at 1.30.4. but KubeadmConfigSpec. ClusterConfiguration. KubernetesVersion is not getting updated automatically.
When we tried to update it manually , it fails as forbidden to update this field.
Any suggestion or any specific step in upgrade we are missing out ?
clusterctl version: clusterctl version: &version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.3", GitCommit:"965ffa1d94230b8127245df750a99f09eab9dd97", GitTreeState:"clean", BuildDate:"2024-03-12T17:15:08Z", GoVersion:"go1.21.8", Compiler:"gc", Platform:"linux/amd64"}
bootstrap-kubeadm: v1.7.1 cert-manager: v1.14.2 cluster-api: v1.7.1 control-plane-kubeadm: v1.7.1 infrastructure-vsphere: v1.10.0 ipam-incluster: v0.1.0