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-operatorKubectl
# Standalone redis deployment
kubectl apply -f example/redis-cluster-example.yamlLast updated
Was this helpful?