From 736cde358491a608597c5f14a8d5529e296d9a8a Mon Sep 17 00:00:00 2001 From: Irena Rindos Date: Tue, 9 May 2023 13:51:42 -0400 Subject: [PATCH] Update references to deprecated controllers field (#3212) --- website/content/docs/configuration/controller.mdx | 2 +- website/content/docs/getting-started/installing/production.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/docs/configuration/controller.mdx b/website/content/docs/configuration/controller.mdx index 19e50cba5..ccc9a6f52 100644 --- a/website/content/docs/configuration/controller.mdx +++ b/website/content/docs/configuration/controller.mdx @@ -74,7 +74,7 @@ description will be read. - `public_cluster_addr` - Specifies the public host or IP address (and optionally port) at which the controller can be reached _by workers_. This will be used by workers after initial connection to controllers via the worker's - `controllers` block. This defaults to the address of the listener marked for + `initial_upstreams` block. This defaults to the address of the listener marked for `cluster` purpose. This is especially useful for cloud environments that do not bind a publicly accessible IP to a NIC on the host directly, such as an Amazon EIP. This value can be a direct address string, can refer to a file on disk (file://) diff --git a/website/content/docs/getting-started/installing/production.mdx b/website/content/docs/getting-started/installing/production.mdx index 5511a7565..2f5b132a2 100644 --- a/website/content/docs/getting-started/installing/production.mdx +++ b/website/content/docs/getting-started/installing/production.mdx @@ -129,7 +129,7 @@ worker { # Name attr must be unique name = "demo-worker-${count.index}" description = "A default worker created demonstration" - controllers = [ + initial_upstreams = [ "${aws_instance.controller[0].private_ip}", "${aws_instance.controller[1].private_ip}", "${aws_instance.controller[2].private_ip}"