🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

github.com/corybuecker/redis-stateful-set

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/corybuecker/redis-stateful-set

v0.0.0-20171001113519-80ba8fb44e51
Version published
Created

Redis as Stateful Set With Sentinel

Please note that I do not maintain this any longer. I recommend taking a look at the HA Redis Helm chart.

This is a proof of concept for running Redis with Sentinel on Kubernetes. In order to scale the size of the cluster, increase or decrease the replica count on the secondary stateful set.

I have included a default, standard storage class for use in AWS. The default volumes provisioned for the primary and secondary Redis instances are set to 5GB, but feel free to change that to something larger.

Kubernetes Version: 1.5.4

Redis Version: 3.2

Building the Docker image

docker build -t <tagname> .

Running the cluster

kubectl create -f primary.yml -f secondary.yml -f sentinel.yml

FAQs

Package last updated on 01 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts