• Matt Liggett's avatar
    Initial node drain implementation for #3885. · c6e9ad06
    Matt Liggett authored
    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.
    c6e9ad06
kubectl 61.9 KB