kubernetes/cmd/kube-controller-manager/app
Kubernetes Submit Queue c1f7df2b0e
Merge pull request #65309 from tnozicka/add-ds-recreate-backoff
Automatic merge from submit-queue (batch tested with PRs 62441, 66702, 67254, 67421, 65309). 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>.

Add backoff for DS's pod deletion to limit fighting with kubelet failing the pod repeatedly

**What this PR does / why we need it**:
Limits consequences of DS controller on hot loop fighting with kubelet.

**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 https://github.com/kubernetes/kubernetes/issues/65240

**Release note**:
```release-note
DaemonSet controller is now using backoff algorithm to avoid hot loops fighting with kubelet on pod recreation when a particular DaemonSet is misconfigured.
```

TODO:
 - [x] Export the backoff settings as args or constants
 - [x] Add test a case

/cc @mfojtik 
(Will add more folks when it's ready, to avoid spamming them.)
2018-08-15 15:30:27 -07:00
..
config Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
options Merge pull request #67358 from stewart-yu/stewart-controller-manager-codeclean 2018-08-15 04:23:18 -07:00
apps.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
autoscaling.go Remove UpscaleForbiddenWindow 2018-08-01 17:47:23 +02:00
batch.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00
bootstrap.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00
BUILD Update Bazel 2018-08-15 16:03:42 +02:00
certificates.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00
cloudproviders.go Extract instantiation of cloud provider 2018-02-08 08:15:41 -05:00
controller_manager_test.go Using assertions 2017-10-10 22:44:12 -05:00
controllermanager.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00
core.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00
import_known_versions.go Enable coordination api group 2018-06-27 13:30:13 +02:00
plugins.go Implement fixes for flexvolume when kubelet is contanerized 2018-07-03 14:04:52 -04:00
policy.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00
rbac.go add debug handler capability for individual controllers 2018-07-26 13:24:36 -04:00