Migrate to Primary Switchover on Graceful Shutdown
Migration Steps
apiVersion: enterprise.mariadb.com/v1alpha1
kind: MariaDB
metadata:
name: mariadb-repl
spec:
# [...]
replication:
enabled: true
primary:
autoSwitchoverOnGracefulShutdown: false
# [...]kubectl patch mariadb mariadb-repl \
--type='merge' \
-p '{"spec":{"replication":{"primary":{"autoSwitchoverOnGracefulShutdown":false}}}}'More Information
Last updated
Was this helpful?

