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

Question - Is there a way to pause reconciliation after a moco upgrade ? #572

Closed
donch opened this issue Sep 12, 2023 · 3 comments
Closed

Comments

@donch
Copy link

donch commented Sep 12, 2023

Hi,

We use Moco with dozens of MySQL clusters on the same Kubernetes cluster. When updating Moco, all the mysqlclusters are restarted (probably to upgrade the moco agent?).
Is there a way to disable these reconciliations and perform them one by one?

Thanks

@ymmt2005
Copy link
Member

@masa213f
Copy link
Contributor

@ymmt2005
The current design will stop the reconciliation and the cluster manager for a MySQLCluster when using this feature.
As far as this question is concerned, it seems sufficient to stop only reconciliation.

@d-kuro
Can I request a design change?
It is better to enable stopping the reconciliation and the cluster manager individually.

@d-kuro
Copy link
Contributor

d-kuro commented Dec 20, 2023

@donch

I have added a feature in the following pull request to suppress the reconciliation and clustering of the MySQLCluster.
While this feature requires manual operation, it allows updating each MySQLCluster one by one during the moco upgrade.

This change is included in v0.20.0 of moco.

https://github.com/cybozu-go/moco/releases/tag/v0.20.0

@d-kuro d-kuro closed this as completed Dec 20, 2023
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

No branches or pull requests

4 participants