kubectl/pkg/drain
W. Trevor King 7ad33aa9fe kubectl/pkg/drain: Include namespace in evictPods return error
And also in the terminating-namespace log output.  This makes it
easier to track down drain-blocking pods, without having to hunt
around in earlier logs for 'evicting pod ...' messages.  Before this
change, caller logs might look like:

  evicting pod {namespace}/{name}
  ...
  error when waiting for pod "{name}" terminating: global timeout reached: 20s

With this change, they will look like:

  evicting pod {namespace}/{name}
  ...
  error when waiting for pod "{name}" in namespace "{namespace}" to terminate: global timeout reached: 20s

Kubernetes-commit: b6318d4e5b9b8eb0d2e2d5a8568df14817733f26
2023-02-07 13:10:30 -08:00
..
cordon.go Passes a context to the drain helper object 2020-12-04 15:13:03 -08: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 kubectl/pkg/drain: Include namespace in evictPods return error 2023-02-07 13:10:30 -08:00
drain_test.go kubectl: send policy/v1 evictions to servers that support it 2021-04-01 22:50:59 -04:00
filter_test.go kubectl/drain add support for custom pod filters 2020-02-18 19:15:07 -05:00
filters.go kubectl drain: Generic "declare a controller" message 2022-02-23 16:26:59 -08:00