This repository contains Monk.io template to deploy Minio Cluster either locally or on cloud of your choice (AWS, GCP, Azure, Digital Ocean).
foo@bar:~$ monk status
daemon: ready
auth: logged in
not connected to cluster
git clone https://github.com/Burakhan/etcd
cd etcd
monk load MANIFEST
foo@bar:~$ monk list etcd
✔ Got the list
Type Template Repository Version Tags
runnable etcd/etcd1 local - -
runnable etcd/etcd2 local - -
runnable etcd/etcd3 local - -
group etcd/stack local - -
foo@bar:~$ monk run etcd/stack
✔ Starting the job: local/etcd/stack... DONE
✔ Preparing nodes DONE
✔ Checking/pulling images...
✔ [================================================] 100% gcr.io/etcd-development/etcd:v3.2.10 mnk-3
✔ [================================================] 100% gcr.io/etcd-development/etcd:v3.2.10 mnk-2
✔ [================================================] 100% gcr.io/etcd-development/etcd:v3.2.10 mnk-1
✔ Checking/pulling images DONE
✔ Starting containers DONE
✔ Starting containers DONE
✔ Started local/etcd/stack
🔩 templates/local/etcd/stack
├─🧊 Peer mnk-2
│ └─🔩 templates/local/etcd/etcd2
│ └─📦 0b32d7b8369e6998c37e4d3da98e54c0-cal-etcd-etcd2-etcd2
│ ├─🧩 gcr.io/etcd-development/etcd:v3.2.10
│ └─🔌 open 13.49.125.125:2392 (0.0.0.0:2392) -> 2379
├─🧊 Peer mnk-1
│ └─🔩 templates/local/etcd/etcd1
│ └─📦 aadf6524344b80f2d49b7d8d3bb9bf04-cal-etcd-etcd1-etcd1
│ ├─🧩 gcr.io/etcd-development/etcd:v3.2.10
│ └─🔌 open 13.53.139.95:2391 (0.0.0.0:2391) -> 2379
└─🧊 Peer mnk-3
└─🔩 templates/local/etcd/etcd3
└─📦 448d86067ccec2768e8839add8a443a9-cal-etcd-etcd3-etcd3
├─🧩 gcr.io/etcd-development/etcd:v3.2.10
└─🔌 open 13.50.109.173:2393 (0.0.0.0:2393) -> 2379
💡 You can inspect and manage your above stack with these commands:
monk logs (-f) local/etcd/stack - Inspect logs
monk shell local/etcd/stack - Connect to the container's shell
monk do local/etcd/stack/action_name - Run defined action (if exists)
💡 Check monk help for more!
The variables are in stack.yml
file. You can quickly setup by editing the values here.
Variable | Description | Default |
---|---|---|
monk_etcd1_port | etcd node 1 public port | 2391 |
monk_etcd2_port | etcd node 2 public port | 2392 |
monk_etcd3_port | etcd node 3 public port | 2393 |
monk_etcd_debug | etcd debug mode | 1 |
monk purge -a