dcos node drain

Draining an agent so that its tasks get rescheduled

Description

The dcos node drain command allows you to drain a Mesos agent so that its tasks get rescheduled.

Usage

  1. dcos node drain <mesos-id>

Options

NameDescription
—decommissionDecommission the agent after having drained it.
—help, hDisplays usage.
—timeoutTimeout to do the request.
—waitWait until the draining is done.

Positional arguments

NameDescription
<mesos-id>The agent ID of a node.

Parent command

CommandDescription
dcos nodeView DC/OS node information.