From 0bef6f05a2bf25c272c4582302e6f70e95ac51f0 Mon Sep 17 00:00:00 2001 From: Luiz Aoqui Date: Tue, 2 Jan 2024 14:48:20 -0500 Subject: [PATCH] docs: add note about `*` namespace on autoscaling (#19547) Explain the behaviour when the wildcard namespace value `*` is used to configure the Nomad Autoscaler agent. --- website/content/tools/autoscaling/agent.mdx | 4 +++- website/content/tools/autoscaling/agent/nomad.mdx | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/website/content/tools/autoscaling/agent.mdx b/website/content/tools/autoscaling/agent.mdx index 6d2ae9d18..455f1d0bf 100644 --- a/website/content/tools/autoscaling/agent.mdx +++ b/website/content/tools/autoscaling/agent.mdx @@ -17,7 +17,9 @@ The Nomad Autoscaler currently has limited support for [Nomad Namespaces][nomad_namespaces]. The `nomad` configuration below supports specifying a namespace; if configured with a namespace, the Autoscaler will retrieve scaling policies and perform autoscaling only for jobs in that -namespace. A future version will include support for multiple namespaces. +namespace. If the special wildcard namespace value `*` is used, the Autoscaler +agent will retrieve scaling policies from all namespaces. A future version will +include support for multiple namespaces. ## Nomad ACLs diff --git a/website/content/tools/autoscaling/agent/nomad.mdx b/website/content/tools/autoscaling/agent/nomad.mdx index 01be84617..6fc72ce1e 100644 --- a/website/content/tools/autoscaling/agent/nomad.mdx +++ b/website/content/tools/autoscaling/agent/nomad.mdx @@ -26,7 +26,7 @@ nomad { - `region` `(string: "global")` - The region of the Nomad servers to connect with. - `namespace` `(string: "")` - The target namespace for queries and actions bound - to a namespace. + to a namespace. If set to `*` all namespaces are queried. - `token` `(string: "")` - The SecretID of an ACL token to use to authenticate API requests with.