-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Use dnsutils image for DNS debugging #18001
Conversation
/assign @BenTheElder @bowei |
/assign @zparnold |
Deploy preview for kubernetes-io-master-staging ready! Built with commit 9831193 https://deploy-preview-18001--kubernetes-io-master-staging.netlify.com |
Deploy preview for kubernetes-io-master-staging ready! Built with commit 6debada https://deploy-preview-18001--kubernetes-io-master-staging.netlify.com |
Not sure it is a good thing to test a feature using an image customized for it. If the DNS resolving feature works well, why we cannot use busybox or other images? |
@tengqm this is the context of this issue https://kubernetes.slack.com/archives/C09QYUH5W/p1575667447086200 As you can see in current documentation the busybox version has to be pinned to 1.28 because later versions don't work with kubernetes docker-library/busybox#48 Also, you can see that there are already some known issues https://kubernetes.io/docs/tasks/administer-cluster/dns-debugging-resolution/#known-issues , unfortunately, DNS is a complex topic with many moving parts. Having an image that is being tested daily guarantees that the docs will be up to date, using a generic image it may break in the future without anybody noticing. |
the set of tools is the only thing customized, not any details about how it behaves. most common images lack DNS utilities. the busybox tools are not a great choice, they are known to behave badly on kubernetes. we are observing the search paths not being respected. this could certainly happen with other real tools, but they should respect this. |
/lgtm |
Okay. That is a convincing. /lgtm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aojea Can I suggest leaving the existing example in place? It might be linked to from elsewhere.
After a while it might be OK to tidy up. If you agree about leaving it in place, how about logging an instantly-frozen issue to track that future work?
/hold
|
/lgtm |
DNS debugging documentation is using a busybox image as example. This image has different known issues with the way it resolves the DNS names in k8s, creating confusion with users that try to follow the docs. The e2e tests use a custom small image ~4.3MB for DNS testing with all the necessary tools. Also, the fact that this image is being used for the k8s e2e testing guarantees it's compatibility.
/hold cancel |
/assign @zparnold |
gentle poke 🙃 |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bowei, sftim The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
DNS debugging documentation is using a busybox image as example. This image has different known issues with the way it resolves the DNS names in k8s, creating confusion with users that try to follow the docs. The e2e tests use a custom small image ~4.3MB for DNS testing with all the necessary tools. Also, the fact that this image is being used for the k8s e2e testing guarantees it's compatibility.
DNS debugging documentation is using a busybox image as example.
This image has different known issues with the way it resolves
the DNS names in k8s that create confusion with users following the
docs.
The e2e tests use a custom small image ~4.3MB for DNS testing
with all the tools necessary. Also, the fact that this image is
being used for the k8s e2e testing guarantees it's compatibility.