Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    etcd-test-clusterpublic

    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

    install

    npm i etcd-test-cluster

    Downloadsweekly downloads

    10

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar