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

Fix splitting cluster on Rolling Update #76

Merged

Conversation

slaskawi
Copy link
Member

@slaskawi slaskawi commented Oct 11, 2019

This Pull Request fixes warning message described in #75. It makes sure, all pods use correct group only if split_clusters_during_rolling_update is turned on. This warning needs to stay and shouldn't be silenced out.

Additionally, this should work fine also with StatefulSets now.

The final change is for KUBERNETES_SPLIT_CLUSTERS_DURING_ROLLING_UPDATE functionality. Starting from now, the KUBE_PING will also take not ready Pods into consideration. By default, this option is set to true.

fixes #75
fixes #77

@slaskawi slaskawi force-pushed the fix_split_during_rolling_upgrade branch from 0c37709 to 34427bf Compare October 11, 2019 07:57
@slaskawi
Copy link
Member Author

A working demo has been pushed into this repository: https://github.com/slaskawi/jgroups-kube-ping-bcd595949-vr6tw

@slaskawi slaskawi force-pushed the fix_split_during_rolling_upgrade branch from 34427bf to 8b71125 Compare October 11, 2019 10:11
Copy link
Member

@rhusar rhusar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this solves all the issues we have open now in WF/EAP for KUBE_PING.

@rhusar rhusar merged commit 6ef960d into jgroups-extras:master Oct 11, 2019
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

Successfully merging this pull request may close these issues.

Initial discovery ends up in singleton partitions KUBE_PING warning with StatefulSet
2 participants