-
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
CoreDNS pods running at every node. (Nodeselector.) #7631
Comments
@franitel Don't hesitate to create a PR 😄 |
it works like this for me |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
I closed this issue because already was resolved in other issue. |
Environment:
We are running using several environments separated by nodeselector.
The issue is that we have several environment and each environment is using different kind of machines, some for production
some for testing purpose, some for dev, staging,... and we have detected that we have some coredns pods running on test machines then we want to keep these important pods in production.
then I was checking the kubespray playbook the last version and I saw that it is hardcoded in the coredns-deployment.yml.j2 file:
https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes-apps/ansible/templates/coredns-deployment.yml.j2
a Proposal in how to solve the issue is to do the same that we have in the dns_extra_tolerations
create a variable in
https://github.com/kubernetes-sigs/kubespray/blob/master/roles/kubernetes-apps/ansible/defaults/main.yml
to allow specify the NodeSelector to this coredns-deployment.
Tell me if you need more details and thanks for your great job!!
Francisco Rodriguez
The text was updated successfully, but these errors were encountered: