This image is the zookeeper dynamic conf for k8s. It comes from rawmind/k8s-tools.
docker build -t judiantara/k8s-zkconfig:<version> .
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.
CONF_NODE should defined, and point to host:port of etcd, e.g.