k3s/pkg/controller/daemon
Kubernetes Submit Queue 9e69d5b8f0 Merge pull request #50595 from k82cn/k8s_50594
Automatic merge from submit-queue (batch tested with PRs 49850, 47782, 50595, 50730, 51341)

NodeConditionPredicates should return NodeOutOfDisk error.

**What this PR does / why we need it**:
In https://github.com/kubernetes/kubernetes/pull/49932 , I moved node condition check into a predicates; but it return incorrect error :(. 

We also need to add more cases to `TestNodeShouldRunDaemonPod` which is key function of DaemonSet.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #50594 

**Release note**:

```release-note
None
```
2017-08-25 20:43:35 -07:00
..
util Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
BUILD Added test case for Predicates. 2017-08-25 19:13:41 +08:00
OWNERS Update daemon controller OWNERS file 2017-02-01 18:31:26 -08:00
daemon_controller.go Merge pull request #50595 from k82cn/k8s_50594 2017-08-25 20:43:35 -07:00
daemon_controller_test.go Added test case for Predicates. 2017-08-25 19:13:41 +08:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
update.go CollisionCount should have type int32 across controllers that use it for collision avoidance 2017-08-18 10:48:12 +08:00
update_test.go Validated expected event numbers for damoncontroller test. 2017-07-05 11:39:48 +08:00