From d34b0971c2b938ddd2b4901fbdb93d2f4c81c527 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Wed, 27 Jan 2021 17:40:08 -0500 Subject: [PATCH 1/2] docs: document Autoscaler node_drain_ignore_system_jobs configuration --- website/content/docs/autoscaling/plugins/target.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/website/content/docs/autoscaling/plugins/target.mdx b/website/content/docs/autoscaling/plugins/target.mdx index 4c22bfea0..b65e41cc4 100644 --- a/website/content/docs/autoscaling/plugins/target.mdx +++ b/website/content/docs/autoscaling/plugins/target.mdx @@ -221,6 +221,9 @@ check "hashistack-allocated-cpu" { - `node_drain_deadline` `(duration: "15m")` The Nomad [drain deadline][nomad_node_drain_deadline] to use when performing node draining actions. +- `node_drain_ignore_system_jobs` `(bool: "false")` A boolean flag used to control if + system jobs should be stopped 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. @@ -324,6 +327,9 @@ check "clients-azure-vmss" { - `node_drain_deadline` `(duration: "15m")` The Nomad [drain deadline][nomad_node_drain_deadline] to use when performing node draining actions. +- `node_drain_ignore_system_jobs` `(bool: "false")` A boolean flag used to control if + system jobs should be stopped 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. From 241675a8b9b24bf8bc99f529fd421cd7dfbf4404 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Fri, 26 Feb 2021 18:30:45 -0500 Subject: [PATCH 2/2] docs: add node_drain_ignore_system_jobs to Autoscaler GCP plugin --- website/content/docs/autoscaling/plugins/target.mdx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/content/docs/autoscaling/plugins/target.mdx b/website/content/docs/autoscaling/plugins/target.mdx index b65e41cc4..e5b6f0d97 100644 --- a/website/content/docs/autoscaling/plugins/target.mdx +++ b/website/content/docs/autoscaling/plugins/target.mdx @@ -412,6 +412,9 @@ check "hashistack-allocated-cpu" { - `node_drain_deadline` `(duration: "15m")` The Nomad [drain deadline][nomad_node_drain_deadline] to use when performing node draining actions. +- `node_drain_ignore_system_jobs` `(bool: "false")` A boolean flag used to control if + system jobs should be stopped 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.