-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[Feature] CoreDNS: External CoreFile option #7376
[Feature] CoreDNS: External CoreFile option #7376
Conversation
Allow users to provide entirely custom CoreFile for CoreDNS to provide improved flexibility.
Hi @gjtempleton. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/assign @KashifSaadat |
I think something like this would be really useful. We are currently just injected the updated ConfigMap after a cluster is created, but it would be great if this was more inline. The only reason I think it should be is because CoreDNS is an add-on (right?) and therefore |
Sorry for delay! /ok-to-test |
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.
I think this is great. My team was thinking about something similar.
I was going to ask about whether we may want to consider making the whole thing a template, which you would be overriding, but that would move the complexity into code rather than the template it's self.
Given the value this would add for many to not have to work around kops management of coredns, I'm going to approve this. Thanks so much for the hard work!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gjtempleton, mikesplain 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 |
I fixed a conflict since I believe @gjtempleton isn't around this week. |
Big fan of this as stated above! /lgtm |
…76-origin-release-1.15 Automated cherry pick of #7376: CoreDNS: Allow for Specification of external
Awesome, great to come back from holiday to find this merged and cherry-picked back! Thanks for the work in fixing the conflicts @mikesplain. |
Resolves #7347 as discussed at yesterday's office hours. Think this is the approach that was agreed on.
Allow users to specify entirely custom CoreFile contents for CoreDNS.
Provided example and warning(s) for users in the cluster spec.
FYI: I'm likely out of contact until next Saturday (the 12th) or so however I've given @maruina collaborator rights on my fork so he may be able to resolve any queries etc.