Set up Redis high availability on Kubernetes
Install storage, then run Redis with replication, Sentinel or Cluster, with Helm or plain YAML. Check it works, then break it on purpose and watch it recover.
KFounder and editor
Intermediate 9 steps, 18 min
Written for
- Kubernetes
- 1.37
- Redis (plain YAML)
- 8.10.3
- Bitnami redis chart
- 28.3.12
- OT redis-operator chart
- 0.27.0
- OT redis-cluster chart
- 0.17.8
- Longhorn
- 1.13.0
- csi-driver-nfs
- 4.13.6
- local-path-provisioner
- 0.0.37
- Redis Insight
- 3.8.0
This guide sets up Redis so it keeps working when a pod or a node fails. Where a step can be done with Helm (a maintained chart does the work) or with YAML (you see and own every piece), it has a tab for each.
Why each piece is there, with animations of each mode failing over, is in How Redis stays up on Kubernetes. This guide is the commands.