sanderploegsma / redis-cluster

Redis Cluster setup running on Kubernetes
https://sanderp.nl/running-redis-cluster-on-kubernetes-e451bda76cad
MIT License
246 stars 132 forks source link

Auto-Scaling #18

Closed khteh closed 5 years ago

khteh commented 5 years ago

How does redis cluster handle auto-scaling in/out depends on load?

In the case of Kubernetes cluster, there is horizontal pod autoscaler. Does it work with redis cluster?

sanderploegsma commented 5 years ago

Unfortunately, autoscaling is not supported in this setup. You can add a HPA and it will create extra pods, but since the resharding process is manual, it won't have any effect as the new instances won't receive any keys.

As I stated in the README, I advise you to look for alternatives, since the setup in this repository is probably not that future-proof.