-
Notifications
You must be signed in to change notification settings - Fork 40k
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
SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst #18089
Conversation
Kubernetes pods have default policy of ClusterFirst, but the cluster DNS server is only an addon. |
Labelling this PR as size/M |
GCE e2e test build/test passed for commit 6c3a88c. |
This PR is in need of LGTM blessings |
@k8s-bot test this Tests are more than 48 hours old. Re-running tests. |
GCE e2e build/test failed for commit 6c3a88c. |
@k8s-bot test this |
GCE e2e test build/test passed for commit 6c3a88c. |
@k8s-bot test this Tests are more than 48 hours old. Re-running tests. |
GCE e2e build/test failed for commit 6c3a88c. |
@k8s-bot test this Sent from my iPhone
|
GCE e2e test build/test passed for commit 6c3a88c. |
This PR has not been merged for over 5 days. Self-merging. |
SkyDNS is the only NS for Pods with DNSPolicy=ClusterFirst
…tting This was changed in kubernetes/kubernetes#18089
…tting This was changed in kubernetes/kubernetes#18089
I consider this PR a compatibility breakage. It assumes clusterDNS does recursive lookups, which is not a valid assumption. Will open an issue to make "clusterDNS-only" behavior optional |
… setting Reverts behavior change made in k8s PR 18089 Carry until k8s issue 20090 is resolved and provides a way to opt out of clusterDNS-only behavior This was changed in kubernetes/kubernetes#18089
… setting Reverts behavior change made in k8s PR 18089 Carry until k8s issue 20090 is resolved and provides a way to opt out of clusterDNS-only behavior This was changed in kubernetes/kubernetes#18089
… setting Reverts behavior change made in k8s PR 18089 Carry until k8s issue 20090 is resolved and provides a way to opt out of clusterDNS-only behavior This was changed in kubernetes/kubernetes#18089
If cluster DNS is not recursive you will run into resolvers that are We made this change after a large amount of deliberation and testing of On Mon, Jan 25, 2016 at 7:06 AM, Jordan Liggitt notifications@github.com
|
… setting Reverts behavior change made in k8s PR 18089 Carry until k8s issue 20090 is resolved and provides a way to opt out of clusterDNS-only behavior This was changed in kubernetes/kubernetes#18089
Please revert this. After upgrade to 1.2 nothing in my cluster works anymore. I don't see any benefit for this at all. |
I am sorry, can you be a bit more specific about what problems you are What exactly are you experiencing?
|
I currently run kubelet with cluster-dns set to dnsmasq with no-resolv. With 1.2, the pods now only have the cluster-dns in /etc/resolv.conf. There must be a reason why the DNSPolicy=ClusterFirst and not ClusterOnly. |
Please read this issue regarding why this change is needed. Doing it the We will be investing significant energy into DNS in the next development
|
Pods with "ClusterFirst" dnsPolicy didn't prepend the cluster DNS server to the node's own DNS settings anymore since kubernetes/kubernetes#18089. Only pods with "default" dnsPolicy inherit DNS from nodes. Besides, fixed a dead link in the doc.
Pods with "ClusterFirst" dnsPolicy didn't prepend the cluster DNS server to the node's own DNS settings anymore since kubernetes/kubernetes#18089. Only pods with "default" dnsPolicy inherit DNS from nodes. Besides, fixed a dead link in the doc.
Pods with "ClusterFirst" dnsPolicy didn't prepend the cluster DNS server to the node's own DNS settings anymore since kubernetes/kubernetes#18089. Only pods with "default" dnsPolicy inherit DNS from nodes. Besides, fixed a dead link in the doc.
#15645 was rolled back.
Addresses issue : #15592
Created this PR to take it forward again, with one additional change:
For pods with ClusterFirst DNSPolicy and kubelet without DNSCluster, the pod will be created with DNSDefault policy.