-
Notifications
You must be signed in to change notification settings - Fork 462
DNS resolution failing from pods #794
Comments
I have the same issue and even DNS lookups for other services fail. Log of dns pod shows: ...but "nslookup test-nginx-svc" in other running pod fails. It´s also not possible to ping the dns resolver 10.3.0.10 from the pod... But it is running. |
This doesn't seem Vagrant specific. Having the same issue on AWS with the latest kube-dns addon. |
What about the logs of kube-dns then? |
Looks like I had |
I had this problem when used |
@rdtr, I have included all the log output for kube-dns pods/containers in this gist: https://gist.github.com/jbw976/41145c9e4f8dcc7e106839cd22801641 Let me know if there's any other output I can grab for you. Could this be related to coreos/bugs#1743 which was fixed in CoreOS 1284? https://github.com/coreos/manifest/releases/tag/v1284.0.0? |
I've had this issue a few times in the past few days... @jbw976 do you have a work around? I'm using kube 1.5.1 CoreOS stable (1235.4.0) and have had this problem twice in the past couple days. I see it might be fixed in cores 1284... but when I update I only get 1235.6.0 |
I have a pretty consistent repro where pods do not seem to have the ability to do DNS look ups. The nodes (VM's) can, but pods cannot.
Version information:
Repro Steps
Follow the instructions to set up the kubernetes vagrant multi-node cluster found at https://coreos.com/kubernetes/docs/latest/kubernetes-on-vagrant.html (included below for convenience):
Now create a simple daemonset spec that will run something with a shell (I picked alpine:3.4):
Start the daemonset and ensure the pods are running:
Connect to one of the pods to open a shell and try some DNS lookups that will fail:
NOTE: Sometimes this issue only repros on one of the pods, so make sure to try DNS from both pods.
In contrast, running the same DNS lookups on one of the node VMs works OK:
Please let me know if there is any other information I can collect.
The text was updated successfully, but these errors were encountered: