Ilya Dmitrichenko
8c09a71e1d
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
2019-02-25 08:15:07 +00:00
Jordan Liggitt
fd9e9b01b1
Remove uses of extensions/v1beta1 clients
2018-12-19 11:18:53 -05:00
Yang Li
141d33a2a5
Fix some golint errors for packages in `pkg/kubectl/cmd`
...
Co-authored-by: Arijit Basu <sayanarijit@gmail.com>
2018-11-22 22:09:08 +08:00
goodluckbot
df31468ce7
Support multiple arguments for cordon and drain
2018-11-12 00:28:36 +08:00
Clayton Coleman
c291d3d7ed
Consistently print errors to stderr and add newlines to cordon
2018-10-16 11:16:15 -04:00
Maciej Szulik
55d5df8a36
React to moves
2018-10-06 18:44:05 +02:00
Maciej Szulik
33adf367f9
Move each kubectl command to a separate directory
2018-10-06 18:44:05 +02:00