Public Repository

Last pushed: 10 months ago
Short Description
zookeeper dynamic conf for k8s
Full Description

k8s-zkconfig

This image is the zookeeper dynamic conf for k8s. It comes from rawmind/k8s-tools.

Build

docker build -t judiantara/k8s-zkconfig:<version> .

Versions

  • v0.1.0

Usage

This image has to be run as a complement of rawmind/alpine-zk, and it configures /opt/tools volume. It scans from k8s etcd, for a zookeeper endpoints and generates /opt/zk/conf/zoo.cfg and /opt/zk/conf/myid dynamically.

/opt/tools/scripts/zk-service.sh scripts, generates and set a ZKID for every node. It also checks a minimal zk quorum before to reboot the zk node on scale the rc.

env var CONF_NODE should defined, and point to host:port of etcd, e.g. 10.128.10.1:2379

Docker Pull Command
Owner
judiantara

Comments (0)