-
Notifications
You must be signed in to change notification settings - Fork 38.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dns server is null in some pods. #30215
Comments
I'v run into a very similar error |
Heapster is using the 'alpine' base image. It seems like this is a long existing issue for DNS in alpine(gliderlabs/docker-alpine#8). |
Alpine broke dns search paths but fixed it in some later release. It should be fixed in edge, in spite of what https://github.com/gliderlabs/docker-alpine/blob/master/docs/caveats.md indicates. We should update the image to the exact version with the fix, which you can figure out with a test like (or prove im wrong by running the test on edge): |
This is happening for us running the Ubuntu base image |
what's you resolv.conf look like? ubuntu doesn't suffer from the same issue so it's likely something wrong with services or connectivity, see http://kubernetes.io/docs/user-guide/debugging-services/#does-the-service-work-by-dns for debugging tips |
I created an issue in Heapster to migrate out of Apline kubernetes-retired/heapster#1284 |
i ran into this:
also
returns nothing
see the 3 dns running 3/3 at the same time? nvm i checked the logs of dns and why it crashed and here: container "kubedns" in pod "kube-dns-1321724180-5qflv" is not available
|
@cordoval It looks like your node is under significant pressure. All of your entries seem to be evicted. Is the node currently under memory pressure? |
/sig network |
what do you mean on your last comments? also i killed a node and the ASG resized them and it now works, maybe kube-ip-proxy got down for some reason and that was the cause, now i see everything working fine. |
@piosz @bprashanth Do you think we can close this issue now? |
@cmluciano The original post is about the nslookup bug in Alpine image and that is cleared. I think we should close this one to avoid stacking up other unrelated issues in the same place. |
/close |
I have two pods in the kube-system namespace, one can resolve dns, When resolve the dns in another pod, it can't resolve the name, and shows the server is null. But the correct dns server already in
/etc/resolv.conf
The text was updated successfully, but these errors were encountered: