Open rade opened 8 years ago
Believe this is basically the same as #1692
Believe this is basically the same as #1692
Hmm. That refers to the global-mode plugin only. I was thinking that when running on swarm we could use that for discovery regardless of mode, even when using the proxy.
That refers to the global-mode plugin only.
Which we install and run by default. However, I just tried it, and did not see the DiscoverNew
call on docker swarm join
. I am informed that plugins are not supported in "swarm mode".
Did you see an api for discovery in swarm mode? I guess we could poll, worst-case.
Some previous discussion at #1097.
Should this be a feature of libmesh?
It would be lovely if weave was able to discover peers through swarm, when it is operating on a swarm cluster, obviating the need to specify peer IPs on launch/connect. Especially now that swarm is built into Docker 1.12 via
docker swarm ...
anddocker node ...
commands.