• 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
..
cmd Loading commit data...
conformance Loading commit data...
e2e Loading commit data...
e2e_kubeadm Loading commit data...
e2e_node Loading commit data...
fixtures Loading commit data...
images Loading commit data...
integration Loading commit data...
kubemark Loading commit data...
list Loading commit data...
soak Loading commit data...
typecheck Loading commit data...
utils Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
test_owners.csv Loading commit data...
test_owners.json Loading commit data...