etcd-test-cluster

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i etcd-test-cluster

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • binocarlos