kubernetes/test/images/pets/redis-installer
Davanum Srinivas 50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-05-31 10:16:53 -04:00
..
BASEIMAGE Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
Dockerfile test images: Adds Windows support (part 1) 2020-02-21 02:09:49 -08:00
install.sh Add bash dependency to redis e2e image 2019-02-27 11:02:21 +01:00
Makefile Merge pull request #76828 from claudiubelu/images/goarm-var 2020-07-01 07:10:18 -07:00
on-start.sh Fix shellcheck failures SC2128 2019-10-23 22:47:46 +02:00
README.md Move from k8s.gcr.io to registry.k8s.io 2022-05-31 10:16:53 -04:00
VERSION test images: Minor changes to trigger postsubmit image building jobs 2021-01-13 21:44:55 -08: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 registry.k8s.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.