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 Using Kubernetes with VMware Cloud Director.
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.
- You must publish the cse:nativeCluster Entitlement rights bundle to any organizations that you want to work with VMware Tanzu Kubernetes Grid clusters. After sharing the rights bundle, you must add the Full Control CSE:NATIVECLUSTER right to the roles you want to create, modify, and delete the VMware Tanzu Kubernetes Grid clusters. In addition, you can assign the administrator rights to users that you want to view all VMware Tanzu Kubernetes Grid clusters in an organization or users that you want to manage clusters across sites. For information about the rights and access levels for Runtime Defined Entities (RDEs), see Managing Defined Entities.
- 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.