We deployed the K8S cluster using the ACS engine in the Azure public cloud. We can create deployments and services, but when we enter pod using " kubectl exec -ti (file name) (command) , we get the following error,
Server error: dialing error: dial tcp: lookup (node hostname) to 168.63.129.16:53: no such host
I looked all over the Internet and did everything I could to fix this problem, but so far no luck. The OS is Ubuntu, and 168.63.129.16 is the public IP address from Azure used for DNS. (See link below)
https://blogs.msdn.microsoft.com/mast/2015/05/18/what-is-the-ip-address-168-63-129-16/
I have already added the host entries / etc / hosts , and the entries in resolv.conf of the server master / node and nslookup allow this. I also tested by adding the - resolv-conf flag to kubelet, but still it fails. I hope someone from this community helps us solve this problem.
source
share