Open voarsh2 opened 3 years ago
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
You probably want to see this PR that we're considering for redis-py 4.1.0.
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