mirror of
https://github.com/kemko/nomad.git
synced 2026-01-09 11:55:42 +03:00
728 B
728 B
layout, page_title, sidebar_current, description
| layout | page_title | sidebar_current | description |
|---|---|---|---|
| docs | Commands: node-drain | docs-commands-node-drain | Toggle drain mode for a given node. |
Comand: node-drain
The node-drain command is used to toggle drain mode on a given node. Drain
mode is used to move work away from a specific node.
Usage
nomad node-drain [options] <node>
This command expects exactly one argument to specify the node ID to enable or
disable drain mode for. It is also required to pass one of -enable or
-disable, depending on which operation is desired.
General Options
-address: The address of the Nomad server. Overrides theNOMAD_ADDRenvironment variable if set. Defaults tohttp://127.0.0.1:4646.