Pause the operator only when you need a short-lived manual window.
Pausing tells the operator to stop normal reconciliation for a specific cluster while you inspect or repair it. Use it for deliberate tactical work, not as a substitute for recovery workflows or as a long-term steady state.
Decision matrix
What pausing changes
| Surface | What happens while paused | What does not change |
|---|---|---|
| Managed resources | The operator stops reconciling StatefulSets, Services, ConfigMaps, Secrets, and similar managed objects. | Kubernetes native controllers such as StatefulSet behavior still exist and may react independently. |
| Self-healing | The operator does not actively repair drift or push the workload back to the desired spec. | A broken workload does not become safe just because reconciliation stopped. |
| Deletion | Finalizer and deletion paths can still run if the custom resource is deleted. | Pausing is not a hard freeze of every lifecycle path. |
Pause the cluster
Apply
Pause reconciliation for one cluster
kubectl patch openbaocluster <name> -n <namespace> --type merge -p '{
"spec": {
"paused": true
}
}'
Use this only for the cluster you are actively working on. A paused cluster can drift further away from its desired state while the operator is quiet.
Verify that the pause is active
Verify
Check the paused flag
kubectl get openbaocluster <name> -n <namespace> -o jsonpath='{.spec.paused}{"\n"}'
If updates appear to do nothing, check this field first before assuming the controller is broken.
Resume reconciliation
Apply
Resume normal reconciliation
kubectl patch openbaocluster <name> -n <namespace> --type merge -p '{
"spec": {
"paused": false
}
}'
You can also remove the field entirely. The important outcome is that the operator can reconcile the cluster again and converge any pending drift.
If the operator entered break-glass or safe mode because of quorum loss or another critical failure, simply flipping spec.paused back to false is not the recovery step. Use the dedicated safe-mode or recovery workflow instead.
Choose the next step
This version tracks a prerelease build. Features and behavior may change before the next stable release.
Was this page helpful?
Use Needs work to open a structured GitHub issue for this page. The Yes button only acknowledges the signal locally.