-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Cleanup nodelocaldns configuration #11238
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
* Since we configure the upstream server through ansible templating, this arugment has no impact on node-cache
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,8 +44,6 @@ spec: | |
- {{ nodelocaldns_ip }} | ||
- -conf | ||
- /etc/Corefile | ||
- -upstreamsvc | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why removing the upstreamsvc? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I explain this in the commit message, but this is a no-op in the Kubespray configuration, since we use Ansible to template the Corefile. The sole purpose of upstreamsvc is to replace |
||
- coredns | ||
{% if enable_nodelocaldns_secondary %} | ||
- -skipteardown | ||
{% else %} | ||
|
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.
how is this file configured ?
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.
Node-cache generates the Corefile from Corefile.base, substituting any templated values in the process.