Open tdubb123 opened 3 years ago
https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/12-dns-addon.md
I was unable to reodlve dns in step 12
kubectl exec -ti $POD_NAME -- nslookup kubernetes
Server: 10.32.0.10 Address 1: 10.32.0.10
nslookup: can't resolve 'kubernetes' command terminated with exit code 1 % kubectl exec -ti busybox -- sh / # cat /etc/resolv.conf search default.svc.cluster.local svc.cluster.local cluster.local us-west1-a.c.voltaic-cairn-330619.internal c.voltaic-cairn-330619.internal google.internal nameserver 10.32.0.10 options ndots:5
This fixed the issue for me:
https://github.com/kelseyhightower/kubernetes-the-hard-way/issues/662#issuecomment-912874387
https://github.com/kelseyhightower/kubernetes-the-hard-way/blob/master/docs/12-dns-addon.md
I was unable to reodlve dns in step 12
kubectl exec -ti $POD_NAME -- nslookup kubernetes
kubectl exec -ti $POD_NAME -- nslookup kubernetes
Server: 10.32.0.10 Address 1: 10.32.0.10
nslookup: can't resolve 'kubernetes' command terminated with exit code 1 % kubectl exec -ti busybox -- sh / # cat /etc/resolv.conf search default.svc.cluster.local svc.cluster.local cluster.local us-west1-a.c.voltaic-cairn-330619.internal c.voltaic-cairn-330619.internal google.internal nameserver 10.32.0.10 options ndots:5