You can create VMware Cloud Director Container Service Extension 3.1 managed Kubernetes clusters by using the Kubernetes Container Clusters plug-in.

For more information about the different Kubernetes runtime options for the cluster creation, see Working with Kubernetes Clusters in the VMware Cloud Director Tenant Portal.

You can manage Kubernetes clusters also by using the VMware Cloud Director Container Service Extension CLI. See the VMware Cloud Director Container Service Extension documentation.

Prerequisites

  • Verify that your service provider published the Kubernetes Container Clusters plug-in to your organization. Kubernetes Container Clusters is the VMware Cloud Director Container Service Extension plug-in for VMware Cloud Director. You can find the plug-in on the top navigation bar under More > Kubernetes Container Clusters.
  • Verify that your service provider completed the VMware Cloud Director Container Service Extension 3.1 server setup and published a VMware Cloud Director Container Service Extension native placement policy to the organization VDC.
  • Verify that your service provider published the cse:nativeCluster Entitlement rights bundle to your organization and granted you the Edit CSE:NATIVECLUSTER right to create and modify native Kubernetes clusters. For the ability to delete clusters, you must have the Full Control CSE:NATIVECLUSTER right.
  • Verify that your service provider created an Access Control List (ACL) entry for you with information about your access level.

Procedure

  1. From the top navigation bar, select More > Kubernetes Container Clusters.
  2. (Optional) If the organization VDC is enabled for TKGI cluster creation, on the Kubernetes Container Clusters page, select the vSphere with Tanzu & Native tab.
  3. Click New.
  4. Select the Native Kubernetes runtime option.
  5. Enter a name and select a Kubernetes Template from the list.
  6. (Optional) Enter a description for the new Kubernetes cluster and an SSH public key.
  7. Click Next.
  8. Select the organization VDC to which you want to deploy a native cluster and click Next.
  9. Select the number of control plane and worker nodes and, optionally, sizing policies for the nodes.
  10. Click Next.
  11. If you want to deploy an additional VM with NFS software, turn on the Enable NFS toggle.
  12. (Optional) Select storage policies for the control plane and worker nodes.
  13. Click Next.
  14. Select a network for the Kubernetes cluster and click Next.
  15. Review the cluster settings and click Finish.

What to do next

  • Resize the Kubernetes cluster if you want to change the number of worker nodes.
  • Download the kubeconfig file. The kubectl command-line tool uses kubeconfig files to obtain information about clusters, users, namespaces, and authentication mechanisms.
  • Delete a Kubernetes cluster.