mirror of
https://github.com/kemko/nomad.git
synced 2026-01-08 11:25:41 +03:00
docs: use appropriate file extension for autoscaler agent config. (#16993)
This commit is contained in:
@@ -46,10 +46,10 @@ are not loaded recursively.
|
||||
For example:
|
||||
|
||||
```shell-session
|
||||
$ nomad-autoscaler agent -config=autoscaler.conf -config=/etc/nomad-autoscaler -config=extra.json
|
||||
$ nomad-autoscaler agent -config=autoscaler.hcl -config=/etc/nomad-autoscaler -config=extra.json
|
||||
```
|
||||
|
||||
This will load configuration from `autoscaler.conf`, from `.hcl` and `.json` files
|
||||
This will load configuration from `autoscaler.hcl`, from `.hcl` and `.json` files
|
||||
under `/etc/nomad-autoscaler`, and finally from `extra.json`. As each file is
|
||||
processed, its contents are merged into the existing configuration. When merging,
|
||||
any non-empty values from the latest config file will append or replace
|
||||
|
||||
Reference in New Issue
Block a user