Commit Graph

2 Commits

Author SHA1 Message Date
Matt Liggett
d4b02466b7 Add support for Job-managed pods to drain. 2016-01-28 13:23:12 -08:00
Matt Liggett
c6e9ad066e Initial node drain implementation for #3885.
It cordons (marks unschedulable) the given node, and then deletes every
pod on it, optionally using a grace period.  It will not delete pods
managed by neither a ReplicationController nor a DaemonSet without the
use of --force.

Also add cordon/uncordon, which just toggle node schedulability.
2016-01-06 17:28:18 -08:00