VMware Cloud Director generates automatically a default provider VDC Kubernetes policy for provider VDCs backed by a Supervisor Cluster. You can create additional provider VDC Kubernetes policies for Tanzu Kubernetes clusters.
Provider VDC and organization VDC Kubernetes policies are necessary only if you want to create or to enable the tenants to create
Tanzu Kubernetes clusters. Native and TKGI clusters do not use these Kubernetes policies.
Procedure
- From the primary left navigation panel, select Resources, and from the page top navigation bar, select Cloud Resources.
- In the left panel, select Provider VDCs, and click the name of a provider VDC.
- Under Policies, select Kubernetes, and click New.
The
Create VDC Kubernetes Policy wizard appears.
- Enter a name and description for the provider VDC Kubernetes policy and click Next.
- Select a resource pool backed by a Kubernetes capable Supervisor Cluster.
- Choose whether you want to reserve CPU and memory for the Kubernetes cluster nodes created in this policy.
There are two editions for each class type: guaranteed and best effort. A guaranteed class edition fully reserves its configured resources, while a best effort edition allows resources to be overcommitted. Depending on your selection, on the next page of the wizard you can select between VM class types of the guaranteed or best effort edition.
- Select Yes for VM class types of the guaranteed edition for full CPU and Memory reservations.
- Select No for VM class types of the best effort edition with no CPU and memory reservations.
- Select CPU and Memory limits for the Kubernetes clusters created under this policy.
When you publish the policy to an organization VDC, the selected limits act as maximums for the newly created organization VDC Kubernetes policy.
- Click Next.
- On the Machine classes page of the wizard, select one or more VM class types available for this policy, and click Next.
The selected machine classes are the only class types available to tenants when you publish the policy to an organization VDC.
- Select one or more storage policies.
- Review your choices and click Finish.