Create a Management cluster template and use it to deploy your Kubernetes Management cluster.

Prerequisites

To perform this operation, you require a role with Infrastructure Design privilege.

Procedure

  1. Log in to the VMware Telco Cloud Automation web interface.
  2. Go to Infrastructure > Caas Infrastructure > Cluster Templates and click Add.
    The Add Kubernetes Template wizard is displayed.
  3. In the Template Detail tab, provide the following details:
    • Name - Enter the name of the template.
    • Cluster Type - Select Management Cluster.
    • Description (Optional) - Enter a description for the template.
    • Tags (Optional) - Add appropriate tags to the template.
    Note: The supported Container Network Interface (CNI) for a Management cluster is Antrea.

    Click Next.

  4. In the Cluster Configuration tab, select the Kubernetes version and Networking.
    1. Kubernetes Version - Select a Kubernetes version. Click View Supported Versions under Kubernetes Versions. A list containing Workload Cluster Supported Versions will pop-up.
    2. Networking (Optional) - Add the networking component.

    Click Next.

  5. In the Control Plane Node Configuration tab, enter the following details:
    • Name - Name of the profile
    • CPU - Number of vCPUs
    • Memory - Memory in GB
    • Storage - Storage size in GB
    • Replica - Number of controller node VMs to be created. The ideal number of replicas for production or staging deployment is 3.
    • Networks - Enter the labels to group the networks. The minimum number of labels required to connect to the management network is 1. Network labels are used for providing networks inputs when deploying a cluster. Meaningful network labels such as N1, N2, N3, and so on, help the deployment users provide the correct network preferences. To add more labels, click Add.
      Note: For the Management network, master node supports only one label.
    • Labels (Optional) - Enter the appropriate labels for this profile. These labels are applied to the Kubernetes node. To add more labels, click Add.
  6. To use the vSphere Linked Clone feature for creating linked clones for the Kubernetes nodes, click Advanced Configuration and select Use Linked Cloning for Cloning the VMs.

    Click Next.

  7. In the Worker Node Configuration tab, add a node pool. A node pool is a set of nodes that have similar properties. Pooling is useful when you want to group the VMs based on the number of CPUs, storage capacity, memory capacity, and so on. You can add one node pool to a Management cluster and multiple node pools to a Workload cluster, with different groups of VMs. To add a node pool, enter the following details:
    • Name - Name of the profile
    • CPU - Number of vCPUs
    • Memory - Memory in GB
    • Storage - Storage size in GB
    • Replica - Number of controller node VMs to be created.
    • Networks - Enter the labels to group the networks. Network labels provide networks inputs when deploying a cluster. To add more labels, click Add.
    • Labels - Enter the appropriate labels for this profile. These labels are added to the Kubernetes node. To add more labels, click Add.
  8. To use the vSphere Linked Clone feature for creating linked clones for the Kubernetes nodes, click Advanced Configuration and select Use Linked Cloning for Cloning the VMs.
  9. Click Next and review the configuration.
  10. Click Add Template.

Results

The template is created.

What to do next

Create a Workload cluster template.