Merge pull request #4142 from hashicorp/docs-drain-guide

Add Node Drain Guide
This commit is contained in:
Michael Schurter
2018-04-12 16:36:37 -07:00
committed by GitHub
4 changed files with 356 additions and 0 deletions

View File

@@ -28,6 +28,9 @@ placed on another node about to be drained.
The [node status](/docs/commands/node/status.html) command compliments this
nicely by providing the current drain status of a given node.
See the [Decommissioning Nodes guide](/guides/node-draining.html) for detailed
examples of node draining.
## Usage
```

View File

@@ -48,6 +48,9 @@ stanza for allocations on that node. The `migrate` stanza is for job authors to
define how their services should be migrated, while the node drain deadline is
for system operators to put hard limits on how long a drain may take.
See the [Decommissioning Nodes guide](/guides/node-draining.html) for details
on node draining.
## `migrate` Parameters
- `max_parallel` `(int: 1)` - Specifies the number of allocations that can be