From 518665feaf1fb55264114ffd02e1460e89d933d0 Mon Sep 17 00:00:00 2001 From: Ryan Uber Date: Tue, 15 Sep 2015 13:52:02 -0700 Subject: [PATCH] website: cli docs cleanup --- .../source/docs/commands/agent-force-leave.html.md.erb | 8 ++++---- website/source/docs/commands/node-drain.html.md.erb | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/website/source/docs/commands/agent-force-leave.html.md.erb b/website/source/docs/commands/agent-force-leave.html.md.erb index 00117d2ed..4fc9ca816 100644 --- a/website/source/docs/commands/agent-force-leave.html.md.erb +++ b/website/source/docs/commands/agent-force-leave.html.md.erb @@ -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 diff --git a/website/source/docs/commands/node-drain.html.md.erb b/website/source/docs/commands/node-drain.html.md.erb index 03c22189f..ac9624e0c 100644 --- a/website/source/docs/commands/node-drain.html.md.erb +++ b/website/source/docs/commands/node-drain.html.md.erb @@ -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.