-
Notifications
You must be signed in to change notification settings - Fork 27
CLOUD-2001 Split clusters during rolling update #35
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
Conversation
|
Can the same functionality be implemented with DNS? If not, this feature would be specific to kube queries, which is OK. It would be nice if both dns and kube offered the same capabilities. Next question would be if this would work with multicast. |
|
Hey @rcernich Sure, I can implement this add-on to DNS Ping as well.
Yes, there should be no problem with that. However with Multicast network plugin you can use simple |
Sorry, I was mistaken. This needs to be |
|
I though it might be helpful to describe how I tested it:
Note there is no |
|
With respect to the DNS bit, the DNS query needs to change to get a list of all endpoints, regardless of ready state. My working theory is that maybe there's something in the service record that can be used to identify the deployment, if not, so be it. It's been a long time since I've looked at this and I don't remember the query to use. |
|
@rcernich Unfortunately I couldn't find any information about querying DNS with the respect to ready state. According to my knowledge, only I also looked at my notes from implementing Unfortunately I could not figure out how to query DNS to gather all Pods regardless to their |
https://issues.jboss.org/browse/CLOUD-2001
This Pull Request represents the same functionality as implemented here: jgroups-extras/jgroups-kubernetes#36
The idea is to split clusters during the Rolling Update (see JIRA for more information) by setting
split_clusters_during_rolling_updatefield inKUBE_PING. The implementation is based on Metadata part of the Pod Spec. It filters out all pods with differentDeploymentlabel. Since Rolling out a new updates this label (-nsuffix), we ping only nodes from the same deployment.