From 75d2330ff7176713abba6ffb0f80f6a2dc7eec08 Mon Sep 17 00:00:00 2001 From: James Rasell Date: Mon, 7 Sep 2020 10:45:41 +0200 Subject: [PATCH] docs: update Autoscaler AWS target with new purge config option. --- website/pages/docs/autoscaling/plugins/target.mdx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/website/pages/docs/autoscaling/plugins/target.mdx b/website/pages/docs/autoscaling/plugins/target.mdx index ae711f649..6b8e09943 100644 --- a/website/pages/docs/autoscaling/plugins/target.mdx +++ b/website/pages/docs/autoscaling/plugins/target.mdx @@ -131,6 +131,7 @@ check { aws_asg_name = "hashistack-client-asg" node_class = "hashistack" 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] 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_drain_deadline]: https://www.nomadproject.io/api-docs/nodes#deadline [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_autoscaling]: https://aws.amazon.com/autoscaling/ [vault_aws_backend]: https://www.vaultproject.io/docs/secrets/aws +[nomad_node_purge]: https://www.nomadproject.io/api/nodes.html#purge-node