# Redis usage and documentation in production server

**URL:** <https://hub.mender.io/t/redis-usage-and-documentation-in-production-server/6873>\
**Category:** General Discussions\
**Created:** [June 4, 2024, 7:39pm UTC](https://hub.mender.io/t/redis-usage-and-documentation-in-production-server/6873 "2024-06-04T19:39:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![akin](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@akin](https://hub.mender.io/u/akin)\
**Post date:** [June 4, 2024, 7:39pm UTC](https://hub.mender.io/t/redis-usage-and-documentation-in-production-server/6873/1 "2024-06-04T19:39:27Z")

</div>

In the latest version, 3.7, the upgrade notes mention a change to Redis. Redis is also mentioned in the Kubernetes section of 3.6 and 3.7. However, I don’t see any documentation on how to actually configure Redis in the Kubernetes cluster.

We’ve upgraded our clusters from 3.4 to 3.6 and then to 3.7 using Helm, but nowhere along that process did Redis get installed. I see in the charts that device\_auth references Redis with some variables, but when I inspect my pod the relevant Redis environment variables are not even present.

What would Redis even be doing in the cluster? It appears to not be a prerequisite, but it is mentioned as a dependency. What would be the necessary modifications to get it working?

---

<div class="post-metadata">

**Author:** ![robgio](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/robgio/32/1760_2.png) [@robgio](https://hub.mender.io/u/robgio)\
**Post date:** [June 12, 2024, 2:01pm UTC](https://hub.mender.io/t/redis-usage-and-documentation-in-production-server/6873/2 "2024-06-12T14:01:06Z")

</div>

Hi @akin ,  
the official helm chart [by default](https://github.com/mendersoftware/mender-helm/blob/master/mender/values.yaml#L1291) set up a Redis Subchart. However, please note that the services are using Redis only in the Enterprise version.

---

<div class="post-metadata">

**Author:** ![akin](https://avatars.discourse-cdn.com/v4/letter/a/ee59a6/32.png) [@akin](https://hub.mender.io/u/akin)\
**Post date:** [June 17, 2024, 8:20pm UTC](https://hub.mender.io/t/redis-usage-and-documentation-in-production-server/6873/3 "2024-06-17T20:20:50Z")

</div>

Thanks for the clarification! That would make sense as we’re not using Enterprise.

It is definitely confusing as with a new deployment, the stateful sets `mender-redis-master` and `mender-redis-replicas` are created. This can cause issues where pods are limited (AWS EKS as an example).

The docs should probably note to disable it, or to have it disabled by default and note to enable for enterprise customers.

---

<div class="post-metadata">

**Author:** ![robgio](https://yyz2.discourse-cdn.com/flex036/user_avatar/hub.mender.io/robgio/32/1760_2.png) [@robgio](https://hub.mender.io/u/robgio)\
**Post date:** [June 18, 2024, 6:30am UTC](https://hub.mender.io/t/redis-usage-and-documentation-in-production-server/6873/4 "2024-06-18T06:30:10Z")

</div>

Hi @akin ,  
makes sense to disable it by default on non-enterprises setup, thanks for the feedback.

In the meantime, please take a look at the Mender Helm doc: [mender-helm/README.md at master · mendersoftware/mender-helm · GitHub](https://github.com/mendersoftware/mender-helm/blob/master/README.md#parameters-redis)

In particular, to disable the default redis subchart, you can set:

```auto
redis:
  disable: true

```
