Merge pull request #8650 from hashicorp/fix-docs-autoscaler-agent-policy-dir
docs: fix incorrect Autoscaler policy block dir detail.
This commit is contained in:
commit
450a08962f
|
@ -146,15 +146,14 @@ The `policy` block configures the Nomad Autoscaler's policy handling.
|
||||||
|
|
||||||
```hcl
|
```hcl
|
||||||
policy {
|
policy {
|
||||||
dir = "/opt/nomad-autoscaler/plugins"
|
dir = "/opt/nomad-autoscaler/policies"
|
||||||
default_cooldown = "2m"
|
default_cooldown = "2m"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### `policy` Parameters
|
### `policy` Parameters
|
||||||
|
|
||||||
- `dir` `(string: "./plugins")` - The path to a directory used to load scaling
|
- `dir` `(string: "")` - The path to a directory used to load scaling policies.
|
||||||
policies.
|
|
||||||
|
|
||||||
- `default_cooldown` `(string: "5m")` - The default cooldown that will be applied
|
- `default_cooldown` `(string: "5m")` - The default cooldown that will be applied
|
||||||
to all scaling policies which do not specify a cooldown period.
|
to all scaling policies which do not specify a cooldown period.
|
||||||
|
|
Loading…
Reference in a new issue