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
|
||||
policy {
|
||||
dir = "/opt/nomad-autoscaler/plugins"
|
||||
dir = "/opt/nomad-autoscaler/policies"
|
||||
default_cooldown = "2m"
|
||||
}
|
||||
```
|
||||
|
||||
### `policy` Parameters
|
||||
|
||||
- `dir` `(string: "./plugins")` - The path to a directory used to load scaling
|
||||
policies.
|
||||
- `dir` `(string: "")` - The path to a directory used to load scaling policies.
|
||||
|
||||
- `default_cooldown` `(string: "5m")` - The default cooldown that will be applied
|
||||
to all scaling policies which do not specify a cooldown period.
|
||||
|
|
Loading…
Reference in New Issue