Skip to content

Commit

Permalink
backport of commit b7fa444 (#19799)
Browse files Browse the repository at this point in the history
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
  • Loading branch information
hc-github-team-nomad-core and lgfa29 authored Jan 25, 2024
1 parent 69ac0bf commit 976ab06
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions website/content/tools/autoscaling/agent/nomad.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ nomad {

- `skip_verify` `(bool: false)` - Do not verify TLS certificates. This is strongly
discouraged.

- `block_query_wait_time` `(string: "5m")` - How long applicable Nomad API
requests supporting blocking queries are held open. Defaults to `5m`.
9 changes: 9 additions & 0 deletions website/content/tools/autoscaling/cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ passed in via CLI arguments. The `agent` command accepts the following arguments

- `-nomad-skip-verify`: Do not verify TLS certificates. This is strongly discouraged.

- `-nomad-block-query-wait-time=<dur>`: How long applicable Nomad API requests
supporting blocking queries are held open. Defaults to `5m`.

- `-policy-dir=<path>`: The path to a directory used to load scaling policies.

- `-policy-default-cooldown=<dur>`: The default cooldown that will be applied to
Expand Down Expand Up @@ -172,6 +175,12 @@ passed in via CLI arguments. The `agent` command accepts the following arguments
hold a lock over a Nomad variable and will only execute if the lock is
successfully acquired. It defaults to `false`.

- `-high-availability-lock-namepsace`: Defines the path of the Nomad namespace
where the variable that will be used to sync the leader when running in high
availability mode. This parameter needs to be the same on all Nomad
Autoscaler agents expected to take part in the same leadership election
process. Defaults to `default`.

- `-high-availability-lock-path`: Defines the path of the Nomad variable that
will be used to sync the leader when running in high availability mode. This
parameter needs to be the same on all Nomad Autoscaler agents expected to
Expand Down

0 comments on commit 976ab06

Please sign in to comment.