Description
The dcos node drain command allows you to drain a Mesos agent so that its tasks get rescheduled.
Usage
dcos node drain <mesos-id>
Options
| 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. |
DC/OS Documentation