Cloud Director will attempt to verify the Kubernetes status for an ESXi cluster in vSphere which has been enabled as a Supervisor Cluster.
In order to do this it will attempt to communicate with the vCenter Server's API.
If the certificate presented by vCenter does not have a Subject Alternate Name matching the IP or FQDN that Cloud Director uses to connect then the API call will fail.
The message will be present in the /opt/vmware/vcloud-director/logs/vcloud-container-debug.log on one of the Cloud Director Cells:
javax.net.ssl.SSLPeerUnverifiedException: Certificate for <192.168.1.10> doesn't match any of the subject alternative names: [vcenter.example.com]
When this occurs Cloud Director cannot confirm the Kubernetes status for an ESXi cluster and will not set the Provider VDC with the blue Kubernetes icon which would show that it supports Kubernetes.
Examine the vCenter Server's certificate and confirm the details of the Subject Alternate Name field.
Ensure that Cloud Director is configured to connect to the vCenter Server using an IP or FQDN that is listed as a Subject Alternate Name.
To change this we can follow the documentation here, Modify vCenter Server Settings.
Example steps would be as follows: