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:
James Rasell 2020-08-12 17:05:41 +02:00 committed by GitHub
commit 450a08962f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.