feat(worker): add 'initial_upstreams' field to worker config to prepare to replace 'controllers' field. Update worker config description on website.

This commit is contained in:
Haotian authored and Haotian Zeng committed 2022-06-13 15:45:03 -07:00
1 parent 4b526538af
commit 40ba275759
18 files changed
+208 -150

No files matched your search

@@ -36,8 +36,8 @@ worker {
an env var (env://) from which the address will be read;
or a [go-sockaddr template](https://godoc.org/github.com/hashicorp/go-sockaddr/template).
- `controllers` - A list of hosts/IP addresses and optionally ports for reaching
controllers. The port will default to :9201 if not specified. This value can be
- `initial_upstreams` - A list of hosts/IP addresses and optionally ports for reaching
controllers or workers. The port will default to :9201 if not specified. This value can be
a direct access string array with the addresses, or it can refer to a file on
disk (file://) from which the addresses will be read, or an env var (env://) from
which the addresses will be read. When using env or file, their contents