Skip to content
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

Merged
merged 5 commits into from
Sep 10, 2019

Conversation

gjtempleton
Copy link
Member

@gjtempleton gjtempleton commented Aug 3, 2019

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.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Aug 3, 2019
@k8s-ci-robot
Copy link
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Aug 3, 2019
@gjtempleton gjtempleton changed the title External core file [Feature] CoreDNS: External CoreFile option Aug 3, 2019
@gjtempleton
Copy link
Member Author

/assign @KashifSaadat

@joshbranham
Copy link
Contributor

joshbranham commented Aug 26, 2019

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 kops enables it.

@justinsb
Copy link
Member

Sorry for delay!

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Aug 30, 2019
Copy link
Contributor

@mikesplain mikesplain left a 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

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 10, 2019
@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 10, 2019
@mikesplain
Copy link
Contributor

I fixed a conflict since I believe @gjtempleton isn't around this week.

@joshbranham
Copy link
Contributor

Big fan of this as stated above!

/lgtm

@k8s-ci-robot k8s-ci-robot merged commit 8087994 into kubernetes:master Sep 10, 2019
k8s-ci-robot added a commit that referenced this pull request Sep 10, 2019
…76-origin-release-1.15

Automated cherry pick of #7376: CoreDNS: Allow for Specification of external
@gjtempleton
Copy link
Member Author

Awesome, great to come back from holiday to find this merged and cherry-picked back!

Thanks for the work in fixing the conflicts @mikesplain.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: CoreDNS CoreFile fully configurable
6 participants