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

  1. Log in to the VMware Telco Cloud Automation web interface.
  2. Go to Infrastructure > CaaS Infrastructure.

    The CaaS Infrastructure page is displayed.

  3. Select the cluster instance for upgrade.
  4. (Optional) Run diagnosis with type Upgrade Diagnosis, choose Pre-upgrade type, details refer to Running Cluster Diagnosis.
  5. Click the Options () symbol against the Kubernetes cluster that you want to upgrade.
  6. Select Upgrade Cluster.

    The Upgrade Cluster window is displayed.

  7. In the Upgrade Name, the default value will be provided in the format upgrade-[cluster name]-[current time] and is editable.
  8. (Optional) In the Description field, input the description of this upgrade.
  9. In the Select Version field, select the Kubernetes version to upgrade from the list.
  10. In the Virtual Machine Template, click the option to select the VM template applicable for the new version of Kubernetes.
  11. Click Upgrade.

    The upgrade process starts.

  12. Click > to view the progress of the update.

What to do next

  1. To get the latest IP address details of the node, view the Cluster Instances page.
  2. To get the latest IP address details of the control plane nodes, navigate to the Control Plane Nodes.
  3. To get the latest IP address details of the worker nodes, navigate to the Worker Nodes.