Sitelet https://github.com/kubernetes/kops/commit/24f2cb487851cb4a3f460984ad62b7e1fc030f5b
Skip to content

Commit 24f2cb4

Browse files
committed
rolling-update: restore 5s delay between pod eviction retries
1 parent 87ff06d commit 24f2cb4

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎pkg/instancegroups/instancegroups.go‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,9 @@ func (c *RollingUpdateCluster) drainNode(ctx context.Context, u *cloudinstances.
690690
ErrOut: os.Stderr,
691691
Timeout: c.DrainTimeout,
692692

693+
// The zero value would retry evictions without any delay
694+
EvictErrorRetryDelay: 5 * time.Second,
695+
693696
// We want to proceed even when pods are using emptyDir volumes
694697
DeleteEmptyDirData: true,
695698
}

0 commit comments

Comments
 (0)