k3s/pkg/controller/daemon
Kubernetes Submit Queue ec194b3615
Merge pull request #55236 from antoniaklja/50598
Automatic merge from submit-queue (batch tested with PRs 56579, 55236, 56512, 56549, 56538). 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>.

#50598: Added more test cases for nodeShouldRunDaemonPod

**What this PR does / why we need it**:
Covered more predicates for `nodeShouldRunDaemonPod` test

**Which issue(s) this PR fixes**:
Fixes #50598

**Special notes for your reviewer**:
I've introduced `predicateName` parameter in order to easier determine what is covered. 
Currently we have:
- ShouldRunDaemonPod
- InsufficientResourceError
- ErrPodNotMatchHostName
- ErrPodNotFitsHostPorts
- ErrNodeSelectorNotMatch

TODO:
- ErrDiskConflict
- ErrPodAffinityNotMatch
- ErrTaintsTolerationsNotMatch

for more predicates take a look at [predicates/errors.go](58fd063a6c/plugin/pkg/scheduler/algorithm/predicates/error.go (L25))
2017-12-15 21:19:37 -08:00
..
util Update generated files 2017-11-09 12:14:08 +01:00
BUILD Update generated files 2017-11-09 12:14:08 +01:00
OWNERS Volunteer to be reviewer of DaemonSet 2017-10-23 06:32:21 -05:00
daemon_controller.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
daemon_controller_test.go Merge pull request #55236 from antoniaklja/50598 2017-12-15 21:19:37 -08:00
doc.go
update.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
update_test.go Check RegisterMetricAndTrackRateLimiterUsage error when starting controllers 2017-11-01 12:46:07 +01:00