Refactor core functionality of `kubectl drain` as a library
- structured pod filter functions
- naming improvements
- consistent use of daemonSets and DaemonSets
- rename field to reflect its usage
- new cordon/uncordon helper
- use Core API client direcly instead of generic CLI runtime
Showing
This diff is collapsed.
Click to expand it.
pkg/kubectl/drain/BUILD
0 → 100644
pkg/kubectl/drain/cordon.go
0 → 100644
pkg/kubectl/drain/drain.go
0 → 100644
pkg/kubectl/drain/filters.go
0 → 100644
Please
register
or
sign in
to comment