/redis-openshift

Redis Cluster on Openshift

Primary LanguageShell

Reliable, Scalable Redis on Openshift

The following document describes the deployment of a reliable, multi-node Redis on Opesnhift. It deploys a master with replicated slaves, as well as replicated redis sentinels which are use for health checking and failover.

Prerequisites

This example assumes that you have a Opesnhift cluster installed and running, and that you have installed the oc command line tool somewhere in your path.

Run

#make sure you have base image available
oc create -f https://raw.githubusercontent.com/mangirdaz/redis-openshift/master/openshift/is-base.yaml -n openshift
#create all components
oc create -f https://raw.githubusercontent.com/mangirdaz/redis-openshift/master/list.yaml
#start build and watch 
oc start-build redis-build