mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
website: cli docs cleanup
This commit is contained in:
@@ -8,10 +8,10 @@ description: >
|
||||
|
||||
# Command: agent-force-leave
|
||||
|
||||
The `agent-force-leave` command forces an agent to enter the "left" state.
|
||||
This can be used to eject nodes which have failed and will not rejoin the
|
||||
cluster. Note that if the member is actually still alive, it will eventually
|
||||
rejoin the cluster again.
|
||||
The `agent-force-leave` command forces a server to enter the "left" state.
|
||||
This can be used to eject server nodes which have failed and will not rejoin
|
||||
the cluster. Note that if the server is actually still alive, it will
|
||||
eventually rejoin the cluster again.
|
||||
|
||||
## Usage
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ description: >
|
||||
# Command: 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.
|
||||
mode prevents any new tasks from being allocated to the node, and begins
|
||||
migrating all existing allocations away.
|
||||
|
||||
The [node-status](/docs/commands/node-status.html) command compliments this
|
||||
nicely by providing the current drain status of a given node.
|
||||
|
||||
Reference in New Issue
Block a user