You can upgrade the existing version of Kubernetes to the latest Kubernetes.
Prerequisites
You must have uploaded virtual machine template of the specific k8s version to vSphere that the upgraded cluster will run. Refer to Import New BYOI Templates into vSphere.
Create an upgrade plan for the upgrading the cluster instance, considering the impact of cluster downtime.
Take backup of any manual customization added to the clusters. You must take the backup manually.
Note:
Note down all the manual customization added to the clusters.
Procedure
- Log in to the VMware Telco Cloud Automation web interface.
- Go to .
The CaaS Infrastructure page is displayed.
- Select the cluster instance for upgrade.
- (Optional) Run diagnosis with type Upgrade Diagnosis, choose Pre-upgrade type, details refer to Running Cluster Diagnosis.
- Click the Options (⋮) symbol against the Kubernetes cluster that you want to upgrade.
- Select Upgrade Cluster.
The Upgrade Cluster window is displayed.
- In the Upgrade Name, the default value will be provided in the format
upgrade-[cluster name]-[current time]
and is editable.
- (Optional) In the Description field, input the description of this upgrade.
- In the Select Version field, select the Kubernetes version to upgrade from the list.
- In the Virtual Machine Template, click the option to select the VM template applicable for the new version of Kubernetes.
- Click Upgrade.
The upgrade process starts.
- Click > to view the progress of the update.
What to do next
- To get the latest IP address details of the node, view the Cluster Instances page.
- To get the latest IP address details of the control plane nodes, navigate to the Control Plane Nodes.
- To get the latest IP address details of the worker nodes, navigate to the Worker Nodes.