-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
MySQL cluster has comaster instances when I recreated it. #207
Comments
I need a little more details, we can chat further on the MySQL operator channel on k8s slack to debug this. EDIT: The problem is because the master is Thanks @juexun for reporting this bug!! |
This should be solved by #199. |
Also when deleting a cluster with To reproduce this issue, in other words to delete the cluster but don't delete the PVCs, you should delete the cluster with |
* Adding TopologySpreadConstraints for VTTablets Reference: https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#topologyspreadconstraint-v1-core This adds support for managing/customizing more even spread of VTTablets across kubernetes nodes (in addition to affinity/tolerations). Same feature can probably be added to VTGates, but I'm trying to keep the changeset small. Signed-off-by: Artem Vovk <[email protected]> * Add topologySpreadConstraints to VTGate deployment Signed-off-by: Artem Vovk <[email protected]> * Use update for topologySpreadConstraints and fix some kubebuilder comment formatting Signed-off-by: Artem Vovk <[email protected]> Co-authored-by: Artem Vovk <[email protected]>
* Add 'make generate-and-diff' Add a new Makefile target that will exit with a failure if 'make generate' generates any changes from what is currently committed. Use this in a new Github workflow, to reject PRs that should include changes to generated files, but haven't generated and committed those changes yet. Signed-off-by: Jordan Moldow <[email protected]> * Update CRDs from pull bitpoke#207 Signed-off-by: Jordan Moldow <[email protected]> * Update docs and generated code from pull bitpoke#207 Signed-off-by: Jordan Moldow <[email protected]>
I deleted the mysql cluster using
kubectl delete -f demo.yaml --cascade=false
and reserved the pvc.When i recreate the mysql cluster using
kubectl apply -f demo.yaml
The cluster was in maintenance mode with two co-master instances.
How can I fix it?
The text was updated successfully, but these errors were encountered: