In the vSphere web client under Workload Management for Supervisors, the vSphere Kubernetes Supervisor cluster shows one or more Errors.
When clicking on the Error number count in parentheses (), the following error message is present, where the DNS server and control plane VM name will vary by environment:
Unable to connect to the management DNS servers <server name> from control plane VM <VM name> - The connection was attempted over the workload network
While SSH into one of the Supervisor Cluster control plane vms, the DNS server or vCenter IP address cannot be reached:
nslookup <dns server>
nslookup <vcenter ip address>
nslookup <vcenter ip address> <dns server>
From the Supervisor cluster context, the one or more of following symptoms may be present:
kubectl get vm -n <namespace>
kubectl describe vm -n <namespace> <vm name>
kubectl get pvc -A | grep <volume mount>
kubectl describe pvc <pvc name> -n <namespace>
Post "https://<vcenter domain>:443/sdk": dial tcp: lookup <localhost or IP>:53: i/o timeout
vSphere with Tanzu 7.0
vSphere with Tanzu 8.0
This issue can occur regardless of whether or not the Supervisor cluster is managed by Tanzu Mission Control (TMC)
One or more Supervisor cluster control plane virtual machines are unable to reach the DNS servers configured in the environment.
This could be due to a networking configuration issue, a change to the DNS server configuration or an issue with the DNS service on the affected Supervisor cluster control plane vm(s).
The provided worker_dns values wholly contain the provided management DNS values, meaning that traffic is routed through the workload network.
The connection between the affected Supervisor control plane VM(s) and the DNS server(s) will need to be fixed.
resolvectl status
eth0 DNS server: <dns server IP address>
cat /etc/resolv.conf
nameserver <server>
search <FQDN>
ls /etc/systemd/network/
journalctl -xeu systemd-networkd
systemctl restart systemd-networkd