You can create Tanzu 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.
VMware Cloud Director provisions Tanzu Kubernetes clusters with the PodSecurityPolicy Admission Controller enabled. You must create a pod security policy to deploy workloads. For information about implementing the use of pod security policies in Kubernetes, see the Using Pod Security Policies with Tanzu Kubernetes Clusters topic in the vSphere with Kubernetes Configuration and Management guide.
Prerequisites
- Verify that your service provider published the Kubernetes Container Clusters plug-in to your organization. You can find the plug-in on the top navigation bar under .
- Verify that you have at least one organization VDC Kubernetes policy in your organization VDC. To add an organization VDC Kubernetes policy, see Add a Kubernetes Policy to an Organization VDC in the VMware Cloud Director Tenant Portal.
- Verify that your service provider published the vmware:tkgcluster Entitlement rights bundle to your organization and granted you the Edit: Tanzu Kubernetes Guest Cluster right to create and modify Tanzu Kubernetes clusters. For the ability to delete clusters, you must have the Full Control: Tanzu Kubernetes Guest Cluster right.
- Verify that your service provider created an Access Control List (ACL) entry for you with information about your access level.
Procedure
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.