Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

statefulset failover IP change #6

Closed
johnjavabean opened this issue Aug 16, 2018 · 2 comments
Closed

statefulset failover IP change #6

johnjavabean opened this issue Aug 16, 2018 · 2 comments

Comments

@johnjavabean
Copy link

Hi there,

First thanks very much for contribute your solution for redis cluster which is super useful.

I just have a concern that statefulset only guarantees no change on domain of each node, however, the ip will still be changed. Will this break the cluster meet in cluster mode?

Thanks,
Jiabin

@riaan53
Copy link

riaan53 commented Aug 16, 2018 via email

@sanderploegsma
Copy link
Owner

Thanks for the response @riaan53, since Redis is no longer part of my day job I kind of stopped focusing on it. Great point on the cluster commands being integrated in Redis 5.0, I updated the repo to reflect it.

Running the pods on separate nodes is always a good idea, if a master and its slave live on the same VM and that goes down, you lose one of the shards. Using podAntiAffinity to make sure pods are not co-located is an easy way to solve this issue.

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

No branches or pull requests

3 participants