VMware Telco Cloud Automation is integrated with VMware Tanzu Kubernetes Grid. To upgrade Tanzu Kubernetes Grid from 2.1.1 to 2.3.1, you must first upgrade the Tanzu Kubernetes management clusters sequentially (2.1.1 > 2.2.0 > 2.3.1) and then the Tanzu Kubernetes workload clusters.

Prerequisites

  • If Tanzu Kubernetes clusters are deployed in an airgap environment, ensure that the airgap server is upgraded first. For information about the Kubernetes upgrade compatibility for clusters, see Upgrade Kubernetes Version.

  • Ensure that all Tanzu Kubernetes workload clusters are using Kubernetes version 1.24.10.

Procedure

  1. Download the latest version of the Kubernetes Cluster templates that you use to upgrade the Tanzu Kubernetes cluster.

    Ensure that you download the templates for both Tanzu Kubernetes Grid 2.2.0 and 2.3.1.

  2. Import the Kubernetes Cluster OVA into vSphere where the Tanzu Kubernetes cluster is located, and convert the OVA into a template.
  3. Upgrade the Tanzu Kubernetes management clusters.
    1. Upgrade the Tanzu Kubernetes cluster in the following sequence: 2.1.1 > 2.2.0 > 2.3.1. For instructions, see Upgrade the Kubernetes Version for a Cluster Instance.
    2. (Optional) If you want to make any Kubernetes Cluster configuration changes, edit the template. For instructions, see Upgrade the Kubernetes version for Cluster Template.
    3. Repeat Steps 3a and 3b to upgrade each Tanzu Kubernetes management cluster sequentially.
  4. Upgrade the Tanzu Kubernetes workload clusters.
    1. Upgrade the Control Plane.
    2. Upgrade a Node Pool.
    3. Repeat Steps 4a and 4b to upgrade each Tanzu Kubernetes workload cluster.

Results

VMware Tanzu Kubernetes Clusters are upgraded successfully. All pods in the cluster are up and running.

What to do next

Update the Kubernetes template version:

  1. In the Telco Cloud Automation UI, navigate to Infrastructure > CaaS Infrastructure > Cluster templates.

  2. Edit the templates that show compatibility errors.

  3. Change the Kubernetes version to the latest one.