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.

Prerequisites

Verify that you have at least one provider VDC backed by a Supervisor Cluster or add a Supervisor Cluster to an existing provider VDC. See Using Kubernetes with Your VMware Cloud Director.

Procedure

  1. From the top navigation bar, select Resources and click Cloud Resources.
  2. In the left panel, select Provider VDCs, and click the name of a provider VDC.
  3. Under Policies, select Kubernetes, and click New.
    The Create VDC Kubernetes Policy wizard appears.
  4. Enter a name and description for the provider VDC Kubernetes policy and click Next.
  5. Select a resource pool backed by a Kubernetes capable Supervisor Cluster.
  6. 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.
  7. 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.
  8. Click Next.
  9. 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.
  10. Select one or more storage policies.
  11. Review your choices and click Finish.

What to do next

Publish a Provider VDC Kubernetes Policy to an Organization VDC in VMware Cloud Director