k3s/test/images/pets/zookeeper-installer
Davanum Srinivas 3e56e3c1c6
Switch from mirror to main download site for zookeeper
Change-Id: I14cd6aeef2f10ac3d270d03e624216eed78368ec
2018-10-24 14:46:45 -04:00
..
BASEIMAGE Update to debian-base 0.4.0 2018-10-19 11:13:28 -07:00
Dockerfile Switch from mirror to main download site for zookeeper 2018-10-24 14:46:45 -04:00
Makefile Multiarch support for pets images 2017-09-07 22:30:41 +05:30
README.md Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
VERSION Update to debian-base 0.4.0 2018-10-19 11:13:28 -07:00
install.sh Multiarch support for pets images 2017-09-07 22:30:41 +05:30
on-start.sh Multiarch support for pets images 2017-09-07 22:30:41 +05:30

README.md

Zookeeper statefulset e2e tester

The image in this directory is the init container for contrib/pets/zookeeper but for one difference, it bakes a specific version of zookeeper into the base image so we get deterministic test results without having to depend on a zookeeper download server. Discussing the tradeoffs to either approach (download the version at runtime, or maintain an image per version) are outside the scope of this document.

You can execute the image locally via:

$ docker run -it k8s.gcr.io/zookeeper-install-3.5.0-alpha:e2e --cmd --install-into=/opt --work-dir=/work-dir

To share the installation with other containers mount the appropriate volumes as --install-into and --work-dir, where install-into is the directory to install zookeeper into, and work-dir is the directory to install the user/admin supplied on-{start,change} hook scripts.

Analytics