dcos node drain

Draining an agent so that its tasks get rescheduled


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


dcos node drain <mesos-id>


Name Description
--decommission Decommission the agent after having drained it.
--help, h Displays usage.
--timeout Timeout to do the request.
--wait Wait until the draining is done.

Positional arguments

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

Parent command

Command Description
dcos node View DC/OS node information.