-
-
Notifications
You must be signed in to change notification settings - Fork 279
Closed
Milestone
Description
We should add a spec.readOnly which would set the entire cluster read-only (even the master node).
The controller should make sure that once the readOnly condition in status is set to true, there is no way the master becomes writable. It is ok to have a spec.readOnly=false cluster with all it's pod read-only, but it's a bug to have a spec.readOnly=true and status.conditions[readOnly]=true with writable pods.
For this we need to do the following:
- all cluster pods start read-only
- the controller is responsible of making the master pod writable
- make sure that orchestrator is started with
ApplyMySQLPromotionAfterMasterFailoverset tofalse
Metadata
Metadata
Assignees
Labels
No labels