-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Running DaemonSet only on Schedulable Nodes #26810
Comments
cc/ @Random-Liu We ran into the similar issue with node problem detector. |
XRef kubernetes/node-problem-detector#13 for similar issue we encountered in node problem detector. |
For the record, I have been relying on this behaviour for months. I have kubelet running on my master nodes with --register-schedulable=false. That way, normal pods won't schedule, but the fluentd DaemonSet does. |
Yes, I need the same thing. I'm not proposing changing that behavior, just adding some sort of label for |
I believe it's tracked here #22205 |
I believe that #22205 is about having the scheduler respect affinity contraints for daemonset pods. In this case, the scheduler already knows how to use node selectors... I'm just seeking to have kubelet automatically label nodes that are marked (Unless there's already a label/mechanism to do this?) |
/sig apps |
/sig scheduling |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Today, DaemonSet Pods will be scheduled even on nodes that are marked
SchedulingDisabled
(node.spec.unschedulable==true
).Is there an out-of-the-box way to use a selector to select only schedulable nodes? Or is the user required to manually label their nodes and then use an appropriate selector?
CC: @theobolo
The text was updated successfully, but these errors were encountered: