etcd-test-cluster
v1.0.0
Published
Helper to boot 3 etcd servers so testing clusters is quick n easy
Downloads
6
Readme
etcd-test-cluster
Boot a cluster of 3 etcd machines using smesh
install
First - install docker
Then pull the docker images (this will be done automatically but you get nice progress bars doing it manually):
$ docker pull binocarlos/etcd
$ docker pull binocarlos/smesh
$ docker pull binocarlos/etcd-test-cluster
usage
First generate a token:
$ TOKEN=$(docker run --rm binocarlos/smesh token)
Start a 3 node cluster:
$ $(docker run --rm binocarlos/etcd-test-cluster start --token $TOKEN --address 192.168.8.120)
This will print the 3 container ids and the client connection string
To stop the cluster:
$ $(docker run --rm binocarlos/etcd-test-cluster stop)
license
MIT