kubectl/pkg/drain
Lorain 9e0a26615e fix using stale pod when evict failed and retry (#133461)
* fix using stale pod when evict failed and retry

* simplify pod refresh process

* use activePod at getPodFn

* fix lint check

* add ut

* introduce EvictErrorRetryDelay

Kubernetes-commit: 66fdbe105831e08b588dd01039a7e3130fd2d36f
2025-08-28 04:54:34 +00:00
..
cordon.go Passes a context to the drain helper object 2020-12-04 15:13:03 -08:00
cordon_test.go kubectl: add test coverage for cordon command (#129202) 2024-12-17 06:34:43 +00:00
default.go wrap error from RunCordonOrUncordon 2022-01-25 10:34:47 -08:00
default_test.go RunCordonOrUncordon error if drainer has nil Ctx or Client 2021-09-27 14:20:24 -07:00
drain.go fix using stale pod when evict failed and retry (#133461) 2025-08-28 04:54:34 +00:00
drain_test.go fix using stale pod when evict failed and retry (#133461) 2025-08-28 04:54:34 +00:00
filter_test.go kubectl/drain add support for custom pod filters 2020-02-18 19:15:07 -05:00
filters.go [kubectl] drain daemonSetFilter with other APIVersion 2024-11-13 10:23:54 +03:00