django-redis-sessions icon indicating copy to clipboard operation
django-redis-sessions copied to clipboard

redis-py-cluster - cluster support in Kubernetes

Open voarsh2 opened this issue 4 years ago • 1 comments

I tried this on a simple redis install in Kubernetes with an environment variable and worked flawlessly. I came across redis-py-cluster pip module.

When I try cluster with kubernetes I get this sort of error: https://github.com/andymccurdy/redis-py/issues/931#issuecomment-559826354

I see there's mentions of sentinel and hardcoding members, but I'm not sure how this plays into Kubernetes with Statefulsets - they don't have IP's, each member is defined by their node id. E.G. redis-cluster0/1/2/3 etc

voarsh2 avatar Jun 05 '21 14:06 voarsh2

You probably want to see this PR that we're considering for redis-py 4.1.0.

chayim avatar Nov 09 '21 07:11 chayim