mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
81eef17e38
Running a cluster in a two-manager configuration effectively *doubles* the chance of loosing control over the cluster (compared to running in a single-manager setup). Users may have the assumption that having two managers provides fault tolerance, so it's best to warn them if they're using this configuration. This patch adds a warning to the `info` response if Swarm is configured with two managers: WARNING: Running Swarm in a two-manager configuration. This configuration provides no fault tolerance, and poses a high risk to loose control over the cluster. Refer to https://docs.docker.com/engine/swarm/admin_guide/ to configure the Swarm for fault-tolerance. Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
controllers/plugin | ||
convert | ||
executor | ||
provider | ||
cluster.go | ||
configs.go | ||
errors.go | ||
filters.go | ||
filters_test.go | ||
helpers.go | ||
listen_addr.go | ||
listen_addr_linux.go | ||
listen_addr_others.go | ||
networks.go | ||
noderunner.go | ||
nodes.go | ||
secrets.go | ||
services.go | ||
swarm.go | ||
tasks.go | ||
utils.go |