Redis Operator
Search…
Cluster
Redis cluster setup
For setting up the redis cluster we can use helm and kubectl. The only thing which needs to be taken care of is that the minimum count for cluster is 3.

Helm

1
# Create redis cluster setup
2
helm upgrade redis-cluster ./helm/redis-setup \
3
-f ./helm/redis-setup/cluster-values.yaml \
4
--set setupMode="cluster" --set cluster.size=3 \
5
--install --namespace redis-operator
Copied!

Kubectl

1
# Standalone redis deployment
2
kubectl apply -f example/redis-cluster-example.yaml
Copied!
Last modified 1yr ago
Copy link
Contents
Helm
Kubectl