Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis-py-cluster - cluster support in Kubernetes #68

Open
voarsh2 opened this issue Jun 5, 2021 · 1 comment
Open

redis-py-cluster - cluster support in Kubernetes #68

voarsh2 opened this issue Jun 5, 2021 · 1 comment

Comments

@voarsh2
Copy link

voarsh2 commented Jun 5, 2021

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:
redis/redis-py#931 (comment)

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

@chayim
Copy link

chayim commented Nov 9, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants