k3s/pkg/controller/daemon
Kubernetes Submit Queue a0a4cc73db
Merge pull request #63223 from k82cn/kep548_working
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.
```
2018-06-02 02:10:08 -07:00
..
util Updated helper funcs to use nodename. 2018-06-02 08:38:58 +08:00
BUILD Move pkg/scheduler/schedulercache -> pkg/scheduler/cache 2018-05-31 22:55:34 +08:00
OWNERS Volunteer to be reviewer of DaemonSet 2017-10-23 06:32:21 -05:00
daemon_controller.go Merge pull request #63223 from k82cn/kep548_working 2018-06-02 02:10:08 -07:00
daemon_controller_test.go update tests to be specific about the versions they are testing instead of floating 2018-05-01 13:18:41 -04:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
update.go Update the DaemonSet controller to use the apps/v1 API 2018-02-22 11:38:54 -08:00
update_test.go Update the DaemonSet controller to use the apps/v1 API 2018-02-22 11:38:54 -08:00