kubernetes/pkg/controller/daemon
Kubernetes Submit Queue ccef02e04f
Merge pull request #67461 from janetkuo/ds-collision-count
Automatic merge from submit-queue (batch tested with PRs 67461, 67464, 67416). 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>.

Avoid unnecessary DaemonSet collisionCount bump

**What this PR does / why we need it**: Sometimes DaemonSet controller will bump its collisionCount more than necessary when the collisionCount of the DaemonSet in the cache store hasn't been updated. This won't affect users, as collisionCount is only used for creating unique hash and the number doesn't matter as long as it changes. This fix avoids the unnecessary collisionCount updates and de-flakes the DaemonSet test for collisionCount. 

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

**Special notes for your reviewer**: @kubernetes/sig-apps-pr-reviews 

**Release note**:

```release-note
NONE
```
2018-08-15 20:09:05 -07:00
..
util Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
BUILD Update Bazel 2018-08-15 16:03:42 +02:00
daemon_controller_test.go Add backoff for DS's pod deletion to limit fighting with kubelet failing the pod repeatedly 2018-08-15 16:03:39 +02:00
daemon_controller.go Add backoff for DS's pod deletion to limit fighting with kubelet failing the pod repeatedly 2018-08-15 16:03:39 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
OWNERS Update workloads controller owner files 2018-08-14 14:20:34 -07:00
update_test.go Update the DaemonSet controller to use the apps/v1 API 2018-02-22 11:38:54 -08:00
update.go Avoid unnecessary DaemonSet collisionCount bump 2018-08-15 16:16:41 -07:00