-
Notifications
You must be signed in to change notification settings - Fork 22
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
rate limit for re-creating MySQL Pods #698
Comments
@masa213f |
@ymmt2005 I think, this failure is due to MOCO re-creating many pods at once. So, I want to add some updates to MOCO. Indeed, just reading the case written here, it seems to be a problem with the Cilium. Based on my experience, creating and deleting pods in K8s is a time-consuming process, and we should not create or delete many pods in a short period. So, I want to shift the re-creation timing of MySQL Pods when MOCO updates. |
@masa213f Do you have any examples of this type of rate limit in other software? The same can happen, for example, with ECK if a user has a lot of Elasticsearch clusters. |
I'll check it out. |
What
Updating MOCO on a Kubernetes cluster with many MySQLClusters causes MySQL to disconnect for several minutes.
In our past failures, MOCO re-created many MySQL Pods (hundreds of pods at that time) almost simultaneously due to MOCO updates.
Then, the Cilium could not process the pod update events and delayed switching to the service's backend.
This results in the MySQLs being disconnected for several minutes.
(This failure may depend on the configuration of the k8s cluster, such as the CNI, etc.)
To prevent such failures, I want to limit the re-creating speed of MySQL Pods.
How
To limit the reconciliation speed of MySQL StatefulSet's partition (Implementing with #628 and #633).
Checklist
The text was updated successfully, but these errors were encountered: