I installed kubernetes by following this tutorial.
One of my containers tries to get resources from an external domain, such as google.com. But it fails because kubernetes dns doesn't use external name resolving.
How can I configure kubernetes using dns 8.8.8.8 ?
What are the results of
nslookup google.com
in the container and the node?If the pod's dnsPolicy is ClusterFirst, google.com DNS query should be forwarded to the upstream DNS which the node specified.
It would be also useful to show the kube-dns container config and logs.