Commit e422ffe
Fix busy loop when pod eviction is blocked during node drain
kubectl v0.35.0 replaced the hardcoded five second sleep between
eviction retries with the configurable EvictErrorRetryDelay field on
drain.Helper. The field has no default, so KubeOne, which builds the
helper itself, retried with no delay and spun as fast as the API server
would answer whenever a PodDisruptionBudget blocked a pod.
Set it to five seconds, matching kubectl drain.
Signed-off-by: t.hosseini <taaahaaa75@gmail.com>1 parent 63de856 commit e422ffe
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
86 | 87 | | |
87 | 88 | | |
88 | 89 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
95 | 97 | | |
96 | 98 | | |
97 | 99 | | |
| |||
0 commit comments