Within the Kubernetes cluster which enables SkyDNS (Google Container Engine), how can I find the IP:PORT of the SkyDNS?
I want to add that DNS server to NODE's resolve.conf
Within the Kubernetes cluster which enables SkyDNS (Google Container Engine), how can I find the IP:PORT of the SkyDNS?
I want to add that DNS server to NODE's resolve.conf
If you run
kubectl cluster-info
it will list the proxy endpoints for the cluster addon services. E.g.If you're looking for the specific IP:PORT of the pods:
But be aware that that will change if pods are restarted for any reason.