This image is the zookeeper dynamic conf for k8s. It comes from rawmind/k8s-tools.
docker build -t rawmind/k8s-zk:<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 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.