website: cli docs cleanup

This commit is contained in:
Ryan Uber
2015-09-15 13:52:02 -07:00
parent ac21530db0
commit 518665feaf
2 changed files with 6 additions and 5 deletions

View File

@@ -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

View File

@@ -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.