Prerequisites
You must have uploaded virtual machine template of the specific k8s version to VMware Telco Cloud Automation that the upgraded cluster will run. Refer to Import New BYOI Templates into vSphere.
Procedure
- Log in to the VMware Telco Cloud Automation web interface.
- Under Infrastructure, select CaaS Infrastructure from the left pane. The CaaS Infrastructure page is displayed.
- Select the cluster instance for upgrade.
- Click the Options (⋮) symbol against the Kubernetes cluster that you want to upgrade.
- (Best Practice) Run diagnosis with type Upgrade Diagnosis, choose Pre-upgrade type. For more information, see Running Cluster Diagnosis.
- Select Upgrade Cluster. The Upgrade Cluster wizard is displayed.
- Navigate to the Get Started tab.
- 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 I want to upgrade field, select Control Plane + Node Pools or Only Control Plane and Only Node Pools.
Note:
Only Node Pools can only be selected after upgrading the control plane.
- In the Select TCA Bom Release, select the tbr bom release applicable for the new version of Kubernetes.
- Click Next.
- Navigate to the Select Target Virtual Machine Template tab under Control Plane.
In Virtual Machine Template, select the VM template applicable for the new version of Kubernetes.
- Click Next.
- Navigate to the Select Node Pool(s) to upgrade tab under Node Pools and customize the VM templte and Upgrade Strategy.
Note: This step is only applicable while upgrading a
Control Plane + Node Pools.
- Choose among the 2 listed options to assign the VM template:
- Select a specific node pool and choose the VM template for this node pool.
- Select multiple node pools and click Assign New VM Template, choose the VM template for all selected node pools.
- Choose among the 2 listed options to assign upgrade strategy:
- Select a specific node pool and specify the upgrade strategy. Once selected, you can navigate to more under New Upgrade Strategy to check the configuration details.
Note: Details under
more will be in read-only mode. To edit, select the node pool again and click
Advanced Options.
- Select multiple node pools, click Advanced Options.
Note: The nodepool will be included in upgrade once the VM Template is selected. To exclude one nodepool from the upgrade list, click Include for Upgrade manually.
- Click Next.
- Review the upgrade configurations and click Upgrade.
-
- (Optional) Choose among the 2 listed options:
- Navigate to Infrastructure > CaaS Infrastructure > Upgrade.
- Navigate to Infrastructure > CaaS Infrastructure > Cluster Instances. Select the cluster you want to monitor the upgrade progress, and navigate to the Upgrade tab of the cluster.
- The upgrade status will be:
- Upgraded: Upgrade process is successful.
- Upgrading: Upgrade process is in progress.
- Failed: Upgrade process failed.
- Click > corresponding to the specific upgrade, view the upgrade progress.
-
To get further information, please check relative resource condition and events.
Results
- Log in to the VMware Telco Cloud Automation web interface.
- Navigate to Infrastructure > CaaS Infrastructure > Cluster Instances.
- Select the cluster you upgraded, confirm that the cluster kubernetes version is upgraded.