In order to utilize Tanzu Kubernetes in VCD, the ability to create and publish Kubernetes policies is required, which is not possible without specifying Virtual Machine Classes.
Upon creating a Provider Virtual Data Center (PVDC) backed by a Tanzu Kubernetes Supervisor Cluster in vCenter Server, VMware Cloud Director (VCD) will display a Kubernetes icon next to the PVDC. However, an autogenerated Kubernetes PVDC policy will not be created. Additionally, any attempts to publish or create a new Kubernetes PVDC policy to a Virtual Data Center (VDC) fail because no Virtual Machine Classes are present to select from.
There is an audit event detailing the failure with the message:
Note: For VMware Cloud Director 10.2.2 use KB Kubernetes Policies in VCD 10.2 with vCenter 7.0 Tanzu are non-functional
The Supervisor Cluster certificate can be manually trusted and accepted by VCD. The steps to manually set the certificate to trusted are:
Note: As an alternative to steps 4 and 5, you can navigate to https://{control plane IP} in a web browser and save the certificate to a local file. This file can then be uploaded to VCD via the Provider UI: Administration > Certificate Management > Trusted Certificates > Import .