The following test scenario sets up a Docker Swarm environment with a swarm manager, a discovery backend service and a single Swarm node. For the discovery backend we use 'Consul' which provides the following features:*
- Service discovery (interface for register new Swarm nodes; callback method for Swarm managers to react on newly added Swarm nodes; list of registered Swarm nodes)
...
- Failure detection
...
- Swarm store (key-value store for persistent the cluster state)
The following diagram visualizes the components and their connections within the test scenario:
...