k3s/test/images/pets/redis-installer
Kubernetes Prow Robot 969c1106f1
Merge pull request #76084 from SataQiu/fix-shell-20190403
Fix shellcheck failures of test/images/pets/redis-installer/on-start.sh
2019-04-12 15:56:32 -07:00
..
BASEIMAGE Bump debian-* base image versions to latest 2019-02-04 11:58:51 -08:00
Dockerfile Add bash dependency to redis e2e image 2019-02-27 11:02:21 +01:00
Makefile
README.md update README.md by cleaning up command prompts 2019-04-10 22:35:39 +08:00
VERSION Add bash dependency to redis e2e image 2019-02-27 11:02:21 +01:00
install.sh Add bash dependency to redis e2e image 2019-02-27 11:02:21 +01:00
on-start.sh fix shellcheck failures of test/images/pets/redis-installer/on-start.sh 2019-04-03 21:55:05 +08:00

README.md

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