Playground for docker-swarm
Download and install the dependencies
-
VirtualBox, see https://www.virtualbox.org/wiki/Downloads
-
Docker machine, docker compose, see https://www.docker.com/products/docker-toolbox
-
Nah, that's all !
We provide a little cluster of 4 vms running boot2docker
-
tools
containing a local dockerregistry
and asquid
proxy for images and network caching ;consul
for service discovery and key/value storage ;zookeeper
for kafka -
swarm-master
, docker swarm master node -
2 (see
SWARM_NODES
)swarm nodes
, nodes that will receive containers apps -
a
registrator
container on each swarm nodes (master included) to notify consul -
plus an
overlay
network to make the communication work in this world !
./setup-cluster.sh
Opened ports on tools machine
Ports | Services |
---|---|
8500 | Consul |
5000 | Registry |
3128 | Squid Proxy |
2181 | Zookeeper |
The elephant on a boat
./ambari.sh
Effective stack by influxdata for telemetry
./tick.sh
Ports | Services |
---|---|
8083, 8086 | InfluxDB |
10000 | Chronograf |
9092 | Kapacitor |
3000 | Grafana |