lxcid / zookeeper-consul-docker

ZooKeeper coordinated using Consul

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ZooKeeper Consul Docker

ZooKeeper coordinated using Consul…

Building

docker build --tag=lxcid/zookeeper-consul .
docker push lxcid/zookeeper-consul

Why Python?

We could write zkGenServers.py as a Java program but Java isn't the nicest language to write DevOps scripts in. We could also write in languages like Go/Swift/Rust that compile down to a nice binary that doesn't need much dependency. We'll leave this for future exercise.

How-to restart?

Currently you need to manual restart the container to load configurations changes…

# Consul-template should be running as PID 1
kill -HUP 1

About

ZooKeeper coordinated using Consul


Languages

Language:Python 82.2%Language:Shell 17.8%