I have deployed xtradbcluster using K8s operator. I want to stop mysql instances and also stop galera replication. or gracefull shutdown of mysql instance. Can you please help with this?
Tried the cluster pause command, that does not work. I’m doing anything wrong?
Thank you. The above command stops the cluster and also brings down the pods.
My requirement is to restore a database into the cluster. I have backup of standalone DB taken from xtrabackup. Inorder to restore on the xtradbcluster i need to stop mysql services and restart the replication post restore. How can i stop mysql and galera replication?
You can create a PerconaXtraDBClusterRestore object and let the operator do the rest. But, since you don’t have a PerconaXtraDBClusterBackup to reference from restore config, you need to put your backup to s3 or google cloud storage and configure the restore with backupSource: