Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport of docs: autoscaler config for blocking query timeout into release/1.7.x #19800

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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