mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 64057, 63223, 64346, 64562, 64408). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Schedule DaemonSet Pods in scheduler. Signed-off-by: Da K. Ma <klaus1982.cn@gmail.com> **What this PR does / why we need it**: **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: part of #59194 **Special notes for your reviewer**: **Release note**: ```release-note `ScheduleDaemonSetPods` is an alpha feature (since v1.11) that causes DaemonSet Pods to be scheduler by default scheduler, instead of Daemonset controller. When it is enabled, the `NodeAffinity` term (instead of `.spec.nodeName`) is added to the DaemonSet Pods; this enables the default scheduler to bind the Pod to the target host. If node affinity of DaemonSet Pod already exists, it will be replaced. DaemonSet controller will only perform these operations when creating DaemonSet Pods; and those operations will only modify the Pods of DaemonSet, no changes are made to the `.spec.template` of DaemonSet. ``` |
||
---|---|---|
.. | ||
util | ||
BUILD | ||
OWNERS | ||
daemon_controller.go | ||
daemon_controller_test.go | ||
doc.go | ||
update.go | ||
update_test.go |