From 8595d15d60ca722e9922406dc004915506da95cd Mon Sep 17 00:00:00 2001 From: Joao Fernandes Date: Mon, 25 Sep 2017 10:53:20 -0700 Subject: [PATCH] Add note about joining through a load balancer Signed-off-by: Joao Fernandes --- docs/reference/commandline/swarm_join.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/reference/commandline/swarm_join.md b/docs/reference/commandline/swarm_join.md index 78af8cd2e3..166e25d7c6 100644 --- a/docs/reference/commandline/swarm_join.md +++ b/docs/reference/commandline/swarm_join.md @@ -94,7 +94,10 @@ for example `--advertise-addr eth0:2377`. Specifying a port is optional. If the value is a bare IP address, or interface name, the default port 2377 will be used. -This flag is generally not necessary when joining an existing swarm. +This flag is generally not necessary when joining an existing swarm. If +you're joining new nodes through a load balancer, you should use this flag to +ensure the node advertises its IP address and not the IP address of the load +balancer. ### `--data-path-addr`