You can create VMware Tanzu Kubernetes Grid Integrated Edition (TKGI) clusters by using the Container Service Extension.

For more information about the different Kubernetes runtime options for the cluster creation, see Using Kubernetes with VMware Cloud Director.

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

By using the TKGI enablement metadata, you can provide access to the tenants to create TKGI clusters and to access the TKGI-enabled organization VDC. If you want to limit the tenants' ability to create TKGI clusters, you can provide access only to the organization VDC. In this case, the tenants can manage existing TKGI clusters but cannot create new ones.

Prerequisites

  • Verify that your service provider published the Kubernetes Container Clusters plug-in to your organization. Kubernetes Container Clusters is the 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.
  • To enable the organization VDC for TKGI Kubernetes cluster deployment, set up the Container Service Extension server. For information about using the CSE CLI to enable an organization VDC for TKGI, see the CSE Server Management chapter in the Container Service Extension (CSE) documentation.
  • If you want to provide tenant access to TKGI creation and management, you must publish the {cse}:PKS DEPLOY RIGHT to the specific organizations, and add the {cse}:PKS DEPLOY RIGHT right to the roles you want to create and manage TKGI clusters. The {cse}:PKS DEPLOY RIGHT is created during the Container Service Extension server install.

Procedure

  1. From the top navigation bar, select More > Kubernetes Container Clusters.
  2. On the Kubernetes Container Clusters page, select the TKGI tab, and click New.
    The Create New TKGI Cluster wizard opens.
  3. Select the organization VDC to which you want to deploy a TKGI cluster and click Next.
    The list might take longer to load because VMware Cloud Director requests the information from the CSE server.
  4. Enter a name for the new TKGI cluster and select the number of worker nodes.
    TKGI clusters must have at least one worker node.
  5. Click Next.
  6. Review the cluster settings and click Finish.
  7. (Optional) Click the Refresh button on the right side of the page for the new TKGI cluster to appear in the list of clusters.

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.