Skip to content
MSR 4.0 reaches End of Life (EOL) on July 17, 2026. To maintain support and receive updates, Mirantis recommends upgrading to the latest version.

Install highly available Redis#

  1. Add the Bitnami repository to Helm:
helm repo add bitnami https://charts.bitnami.com/bitnami
  1. Create a custom values file named redis-values.yaml and add the following configuration:
   master:
     persistence:
       enabled: true
       size: 8Gi
       storageClass: "<nameofstorageclass>"
     resources:
       requests:
         memory: 256Mi
         cpu: 100m
       limits:
         memory: 512Mi
         cpu: 200m
   replica:
     replicaCount: 3
     persistence:
       enabled: true
       size: 8Gi
       storageClass: "<nameofstorageclass>"
     resources:
       requests:
         memory: 256Mi
         cpu: 100m
       limits:
         memory: 512Mi
         cpu: 200m
  1. Install Redis with Helm:
helm install redis bitnami/redis -f redis-values.yaml
  1. Save the Redis password as an environment variable:
export REDIS_PASSWORD=$(kubectl get secret --namespace default redis -o jsonpath="{.data.redis-password}" | base64 -d)
echo $REDIS_PASSWORD
  1. Get the Redis service name and IP address:
kubectl get service

Example output:

redis-master                                   ClusterIP   10.96.84.98     <none>        6379/TCP