1
0
Fork 0
forked from barak/tarpoon
tarpoon/vendor/k8s.io/kubernetes/test/images/pets/redis
2016-12-03 22:43:32 -08:00
..
Dockerfile Add glide.yaml and vendor deps 2016-12-03 22:43:32 -08:00
install.sh Add glide.yaml and vendor deps 2016-12-03 22:43:32 -08:00
Makefile Add glide.yaml and vendor deps 2016-12-03 22:43:32 -08:00
on-start.sh Add glide.yaml and vendor deps 2016-12-03 22:43:32 -08:00
README.md Add glide.yaml and vendor deps 2016-12-03 22:43:32 -08:00

Redis petset 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 gcr.io/google_containers/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