Giter Club home page Giter Club logo

monk-etcd's Introduction

ETCD & Monk

This repository contains Monk.io template to deploy Minio Cluster either locally or on cloud of your choice (AWS, GCP, Azure, Digital Ocean).

Prerequisites

Make sure monkd is running

foo@bar:~$ monk status
daemon: ready
auth: logged in
not connected to cluster

Clone Repository

git clone https://github.com/Burakhan/etcd

Load Template

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       -        -

Deploy Stack

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!

Variables

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

Stop, remove and clean up workloads and templates

monk purge -a

monk-etcd's People

Contributors

burakhan avatar nooga avatar

Watchers

 avatar  avatar Artem Teleshev avatar  avatar Sergey Nelepa avatar Ivan Manachyn avatar v.nyzhehorodov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.