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

# Create redis cluster setup
helm upgrade redis-cluster ./helm/redis-setup \
-f ./helm/redis-setup/cluster-values.yaml \
--set setupMode="cluster" --set cluster.size=3 \
--install --namespace redis-operator

Kubectl

# Standalone redis deployment
kubectl apply -f example/redis-cluster-example.yaml
Copy link
On this page
Helm
Kubectl