/k8s-zk

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

Primary LanguageShell

k8s-zk

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

Build

docker build -t rawmind/k8s-zk:<version> .

Versions

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

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