• Kubernetes Submit Queue's avatar
    Merge pull request #65309 from tnozicka/add-ds-recreate-backoff · c1f7df2b
    Kubernetes Submit Queue authored
    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.)
    c1f7df2b
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
importverifier Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kube-scheduler Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
linkcheck Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...