Sitelet https://github.com/kubernetes/kops/pull/18641
Skip to content

rolling-update: restore 5s delay between pod eviction retries - #18641

Merged
kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
hakman:drain-evict-retry-delay
Jul 30, 2026
Merged

kubernetes-prow[bot] merged 1 commit into
kubernetes:masterfrom
hakman:drain-evict-retry-delay

Conversation

@hakman

@hakman hakman commented Jul 30, 2026

Copy link
Copy Markdown
Member

kubectl v0.35 made the delay between pod eviction retries a caller-supplied field, Helper.EvictErrorRetryDelay, instead of a hardcoded 5s (kubernetes/kubernetes#133461). Since kOps does not set it, draining a node with a PDB-blocked pod retries evictions in a tight loop with no delay, spamming will retry after 0s messages and hammering the eviction API until the PDB allows the eviction.

/cc @rifelpet @ameukam @upodroid

@kubernetes-prow kubernetes-prow Bot added area/rolling-update cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jul 30, 2026
@kubernetes-prow kubernetes-prow Bot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 30, 2026
@hakman

hakman commented Jul 30, 2026

Copy link
Copy Markdown
Member Author

/approve

@kubernetes-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, upodroid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubernetes-prow kubernetes-prow Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 30, 2026
@kubernetes-prow
kubernetes-prow Bot merged commit 8d3f415 into kubernetes:master Jul 30, 2026
26 checks passed
kubernetes-prow Bot added a commit that referenced this pull request Jul 30, 2026
…-upstream-release-1.36

Automated cherry pick of #18641: rolling-update: restore 5s delay between pod eviction retries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/rolling-update cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants