<p>After some readings, it seems there is no sustainable solution for <strong>auto-scaling</strong> Redis on Kubernetes without adding a controller like <a href="https://github.com/adenda/maestro/wiki/Kubernetes-Redis-controller-for-autoscaling-a-Redis-cluster" rel="nofollow noreferrer">Maestro</a>. Unfortunatly the project seems a bit dead. </p>

<p>What are some alternatives for autoscaling Redis ? </p>

<p>Edit: Redis is a statefull app.</p>

Loïc Guzzetta
<p>If you want to autoscale anything on Kubernetes, it requires some type of controller. For general autoscaling, the community is rallying around the <a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/" rel="nofollow noreferrer">Horizontal Pod Autoscaler</a>. By default, you configure it to scale based on CPU utilization.</p>

<p>If you want to scale based on metrics other than CPU utilization and you're using the <a href="https://github.com/helm/charts/tree/master/stable/redis" rel="nofollow noreferrer">Redis helm chart</a>, you can easily configure it to run a Prometheus metric sidecar and can set the autoscaler to scale based on one of those values.</p>
