1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/daemon/cluster
Sebastiaan van Stijn 81eef17e38
Return a warning when running in a two-manager setup
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>
2019-03-18 14:36:00 +01:00
..
controllers/plugin Compile fix 2018-07-11 15:52:19 +02:00
convert Use Runtime target 2019-02-19 13:14:17 -06:00
executor Had HasExperimental() to cluster backend 2019-02-28 16:52:30 -08:00
provider Add canonical import comment 2018-02-05 16:51:57 -05:00
cluster.go cluster: set bigger grpc limit for array requests 2018-10-30 16:02:34 -07:00
configs.go set bigger grpc limit for GetConfigs api 2019-02-26 11:09:25 -05:00
errors.go Add canonical import comment 2018-02-05 16:51:57 -05:00
filters.go Changes to cluster/filter, swagger.yaml, version-history.md for filtering on node labels. 2018-08-21 22:17:23 +02:00
filters_test.go Add canonical import comment 2018-02-05 16:51:57 -05:00
helpers.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
listen_addr.go VXLAN UDP Port configuration support 2018-11-22 17:35:02 -05:00
listen_addr_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
listen_addr_others.go Add canonical import comment 2018-02-05 16:51:57 -05:00
networks.go Move network conversions out of API router 2018-06-27 17:11:29 -07:00
noderunner.go VXLAN UDP Port configuration support 2018-11-22 17:35:02 -05:00
nodes.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
secrets.go Switch from x/net/context -> context 2018-04-23 13:52:44 -07:00
services.go Had HasExperimental() to cluster backend 2019-02-28 16:52:30 -08:00
swarm.go Return a warning when running in a two-manager setup 2019-03-18 14:36:00 +01:00
tasks.go cluster: set bigger grpc limit for array requests 2018-10-30 16:02:34 -07:00
utils.go Add canonical import comment 2018-02-05 16:51:57 -05:00