maintenance drain

acloud-toolkit maintenance drain

drain a kubernetes node


drain a kubernetes node with additional options not supported by kubectl

acloud-toolkit maintenance drain <node> [flags]


acloud-toolkit maintenance drain mynode --namespace-only default


      --grace-period int          Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used (default 60)
  -h, --help                      help for drain
      --ignore-statefulset-pods   do not drain statefulset pods
  -n, --namespace string          drain pods from a specific namespace only. Default is the configured namespace in your kubecontext.
      --timeout duration          The length of time to wait before giving up, zero means infinite
      --uncordon                  uncordon nodes after running the drain command