Merge pull request #8837 from hashicorp/docs-autoscaler-gh-257

docs: update Autoscaler AWS target with new purge config option.
This commit is contained in:
James Rasell 2020-09-08 09:15:27 +02:00 committed by GitHub
commit c26421a56b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -131,6 +131,7 @@ check {
aws_asg_name = "hashistack-client-asg" aws_asg_name = "hashistack-client-asg"
node_class = "hashistack" node_class = "hashistack"
node_drain_deadline = "5m" node_drain_deadline = "5m"
node_purge = "true"
} }
... ...
``` ```
@ -144,6 +145,9 @@ check {
- `node_drain_deadline` `(duration: "15m")` The Nomad [drain deadline][nomad_node_drain_deadline] - `node_drain_deadline` `(duration: "15m")` The Nomad [drain deadline][nomad_node_drain_deadline]
to use when performing node draining actions. to use when performing node draining actions.
- `node_purge` `(bool: "false")` A boolean flag to determine whether Nomad clients should
be [purged][nomad_node_purge] when performing scale in actions.
[nomad_node_class]: https://www.nomadproject.io/docs/configuration/client#node_class [nomad_node_class]: https://www.nomadproject.io/docs/configuration/client#node_class
[nomad_node_drain_deadline]: https://www.nomadproject.io/api-docs/nodes#deadline [nomad_node_drain_deadline]: https://www.nomadproject.io/api-docs/nodes#deadline
[nomad_scaling_stanza]: /docs/job-specification/scaling [nomad_scaling_stanza]: /docs/job-specification/scaling
@ -152,3 +156,4 @@ check {
[aws_region]: https://aws.amazon.com/about-aws/global-infrastructure/regions_az/ [aws_region]: https://aws.amazon.com/about-aws/global-infrastructure/regions_az/
[aws_autoscaling]: https://aws.amazon.com/autoscaling/ [aws_autoscaling]: https://aws.amazon.com/autoscaling/
[vault_aws_backend]: https://www.vaultproject.io/docs/secrets/aws [vault_aws_backend]: https://www.vaultproject.io/docs/secrets/aws
[nomad_node_purge]: https://www.nomadproject.io/api/nodes.html#purge-node