1.0.0 • Published 10 years ago

etcd-test-cluster v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
10 years ago

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

1.0.0

10 years ago

0.1.0

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago