Starting with VMware Cloud Director 10.3.1, you can create VMware Tanzu Kubernetes Grid 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.
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.
- 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 .
- Verify that your service provider completed the VMware Cloud Director Container Service Extension 3.1.1 server setup.
- Verify that your service provider published the cse:nativeCluster Entitlement rights bundle to your organization and granted you the Full Control CSE:NATIVECLUSTER right to create, modify, and delete VMware Tanzu Kubernetes Grid clusters.
- From the top navigation bar, select .
- Click New.
- Select the VMware Tanzu Kubernetes Grid runtime option, and click Next.
- Enter a name and select a Kubernetes Template from the list.
- (Optional) Enter an SSH public key.
- Click Next.
- Select the organization VDC to which you want to deploy a VMware Tanzu Kubernetes Grid cluster and click Next.
- Select the number of worker nodes, and optionally, select the sizing policies or CPU and memory limitations for the nodes.
- Click Next.
- (Optional) Select storage policies for the control plane and worker nodes.
- Click Next.
- (Optional) To limit the cluster communication only to the internal network, toggle off the Allow external traffic to be routed to this cluster.
If you want to use load balancers and persistent volumes, the toggle must be turned on.
- Select a network for the Kubernetes cluster and click Next.
- (Optional) Specify a range of IP addresses for Kubernetes services and a range for Kubernetes pods, and click Next.
Classless Inter-Domain Routing (CIDR) is a method for IP routing and IP address allocation.
Option Description Pods CIDR Specifies a range of IP addresses to use for Kubernetes pods. The default value is 100.96.0.0/11. The pods subnet size must be equal to or larger than /24. You can enter one IP range. Services CIDR Specifies a range of IP addresses to use for Kubernetes services. The default value is 100.64.0.0/13. You can enter one IP range.
- 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.