-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Remove a statement to skip over adding the kube-dns addon #3080
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: rbierman If they are not already assigned, you can assign the PR to them by writing 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 |
Thanks for your pull request. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please follow instructions at https://git.k8s.io/community/CLA.md#the-contributor-license-agreement to sign the CLA. It may take a couple minutes for the CLA signature to be fully registered; after that, please reply here with a new comment and we'll verify. Thanks.
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. I understand the commands that are listed here. |
Can one of the admins verify this patch? |
@dlorenc Sorry I mixed up two PR's. The PR related to possibly multiple core-dns servers: #3072 could potentially introduce that problem. This PR should fix the problem of not being able to disable the The end goal of this PR would be to be able to enable end disable the |
Do you think we should just delete the kube-dns addon? It won't work with kubeadm for the reasons you pointed out above, and would still allow it to be "disabled". |
Hmm deleting the I was trying to figure out if
@rajansandeep Do you have any thoughts around this (Especially point 1)? |
@rbierman |
Yeah it should work for that version but what about all previous versions? If someone executes: As this is the output from:
|
@rajansandeep I think the best solution would be to see if we can make a change in As a second best we could go with disabling both plugins but leave them in there. So users can enable them if they would like to for older versions. (We might want to add a message to warn the user for having two dns services running if they don't disable the default one). @dlorenc Thoughs? |
/assign @dlorenc |
I think this is probably the best solution. Deleting both addons and letting kubeadm pick makes sense to me. |
Closing this PR as obsolete. Please re-open if I am incorrectly doing so. |
This should fix issue: #2808
However it seems to create a new issue as
kubeadm
creates a DNS deployment by itself. Based on the documentation found here: https://kubernetes.io/docs/tasks/administer-cluster/coredns/ it seems like you're only able to switch betweenkube-dns
andcore-dns
and not disable the deployment. @r2d4 Do you have any thoughts how we could fix this?NVM
@dlorenc I'm curious if by merging #3073 we have 2 core-dns deployments on kubernetes version:v1.11.0
or higher?