Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 647 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 647 Bytes

Stolen from stateful app tutorial

What?

I need a cluster of (generally 3) redis instances with sentinel failover. Masters must persist across restarts, which means that redis needs to be able to write to its config file and the config needs to remain stable.

How?

kubectl apply -f redis-configmap.yaml redis-sentinel-configmap.yaml
kubectl apply -f redis-services.yaml
kubectl apply -f redis-statefulset.yaml
kubectl apply -f redis-sentinel-statefulset.yaml

TODO

  • document what's going on
  • authentication may be desirable