-
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
Master doesn't put to SchedulingDisabled mode #639
Comments
Just curious - but what problems is this causing? |
Yah I noticed this. Without it being in SchedulingDisabled mode pods are scheduled to the master. Typically you don't want your master acting as a minion. |
Understood. Are replication steps fairly straight forward? Is it safe to say this can be easily replicated with a fresh copy of Attempting to replicate now, but just wondering what you have noticed - and want to make sure I am replicating the same issue. |
The master is tainted, so normal pods should not schedule on it. Daemonsets don't honor taints though, but we also label it, so that you can target a daemonset only to run on the master. We don't have a label on the nodes yet, so you could target a daemonset to run only on the nodes, but we probably should. This is the "new way" of doing things, but we're ahead of - well - everyone here. And perhaps we shouldn't have done that. Would be interested to hear what problems this causes - we should open issues in the kubernetes repo where we are finding fault with this model. We do have two problems already: NodePort on the master: kubernetes/kubernetes#33884 kubectl get nodes is awkward: kubernetes/kubernetes#33533 Neither is a deal-breaker AFAIK though |
2 questions:
|
For those interested to activate again the
The issue we're facing is that the ELBs are pointing also to masters. This will disconnect the masters from the ELBs and redirect traffic only to nodes. |
What is the status on this issue? Can we close? |
Closing, please reopen if needs be. |
I lost track of how k8s changed "taints"/"schedulable" flags, but I just provisioned a new cluster with kops 1.8.1 10 days ago and got an unwanted deployment on a master. Had to drain it manually. |
Hi,
Since upgrading to kops
1.4.1
, the master is no longer put intoReady,SchedulingDisabled
.Initially starts as
Ready,SchedulingDisabled
, but after minute switches to back toReady
.The text was updated successfully, but these errors were encountered: