ceph-csi/vendor/k8s.io/kubernetes/test/images/pets/redis-installer
2018-11-26 13:23:56 -05:00
..
BASEIMAGE Fresh dep ensure 2018-11-26 13:23:56 -05:00
Dockerfile vendor files 2018-01-10 13:42:26 -05:00
install.sh vendor files 2018-01-10 13:42:26 -05:00
Makefile vendor files 2018-01-10 13:42:26 -05:00
on-start.sh vendor update for CSI 0.3.0 2018-07-31 14:53:26 +02:00
README.md vendor updates 2018-03-07 11:43:06 -05:00
VERSION Fresh dep ensure 2018-11-26 13:23:56 -05:00

Redis statefulset e2e tester

The image in this directory is the init container for contrib/pets/redis but for one difference, it bakes a specific version of redis into the base image so we get deterministic test results without having to depend on a redis 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/redis-install-3.2.0: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 redis into, and work-dir is the directory to install the user/admin supplied on-{start,change} hook scripts.

Analytics