-
-
Notifications
You must be signed in to change notification settings - Fork 232
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
Separate resources section for leaders and followers for redis-cluster chart #1186
Comments
Hi @AharonIsraelCohen, @drivebyer you can assign me |
Exactly, so on cases like increasing resources we could increase follower resources first and after the cluster is balanced, to increase leaders resources as well. |
After thinking of this, I think we didn't need an additional field to separate resources for leader and follower. Because the actual role of Redis will change after cluster failover. That is to say, the pod under the leader statefulset may become a follower. So the additional field will be set to the wrong pod after cluster failover. In your case, I think we need another way to enhance the data security. @AharonIsraelCohen |
In my opinion it's still makes sense, to support resiliency/availability to the cluster, like we can make resources adjusment on the fly, by updating the follower first and then the leader (vice versa), follower can be temporarily become leader and then leader can takeover back after we patched the resources. |
Is your feature request related to a problem? Please describe.
I tried to update my cluster resources, I am using operator and cluster latests charts, and I noticed that there is a Rolling update
action for the leaders and right after it finished the followers starts to update as well, as a result we lost some data because
the leaders didn't managed to catch up with the followers and then the followers started to restart as well/
Describe the solution you'd like
I would like to have separate "resource" section for leaders and followers, so we could update them seperatly.
What version of redis-operator are you using?
chart version: 0.18.5
image:
The text was updated successfully, but these errors were encountered: