-
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
kube-dns pods cannot be scheduled on master instances #2722
Comments
Related #2705 |
This is as designed, as the masters typically should not be running applications. |
@chrislovecnm thanks for clarifying. I guess I was assuming DNS would count as a system resource that should always get scheduled. Thanks for the work you guys do on kops, it's made adoption of Kubernetes a very smooth experience! |
please be aware this decision prevents scaling nodes down to 0 (which is a shame for dev environments only really used from 9-5). I tried looking around but is there any way of stopping Kops deploying kube-dns so I can just deploy my own modified version? Failing that I'll try using |
Kubernetes version:
1.6.4
Currently, it looks like the two DNS deployments (
kube-dns
andkube-dns-autoscaler
) are unable to be scheduled on a master instance, due to their manifests missing the tolerations in the pod spec. If I reduce the number of nodes to zero (or start a cluster with just one low-powered node) I see the following in/var/log/kube-scheduler
on the master:Adding the following tolerations allows the pods to schedule on the master(s):
Is this intentional? Happy to submit a PR with the changes if not.
The text was updated successfully, but these errors were encountered: