ExternalDNS watches a defined set of Kubernetes source resources and publishes the hostnames they declare to the configured DNS provider. In the vSphere Kubernetes Service (VKS) ExternalDNS package the supported sources are service, ingress and contour-httpproxy, so of the options offered only a Contour HTTPProxy and a Kubernetes Service can create records. The HTTPProxy supplies the virtual-host FQDN from its spec, and the Service (typically type LoadBalancer) supplies the externally reachable address the record resolves to; enabling --source=contour-httpproxy additionally requires the Contour package to be installed on the cluster first.
Pods, nodes and virtual machines are not sources in this package. A pod is published indirectly through the Service that fronts it, and neither cluster nodes nor vSphere virtual machines are watched for DNS hostnames by the packaged configuration.
Community Discussion