bitpoke / mysql-operator

Asynchronous MySQL Replication on Kubernetes using Percona Server and Openark's Orchestrator.
https://www.bitpoke.io/docs/mysql-operator/getting-started/
Apache License 2.0
993 stars 275 forks source link

pvc was deleted when mysqlCluster cr deleted #892

Closed sfeng1996 closed 10 months ago

sfeng1996 commented 1 year ago

when i use kubectl tool to delete mysqlcluster resoure ,it make the pvc resource was deleted soon, so how to prevent the pvc resoure to be deleted when i just want to shutdown mysqlcluster or recreate mysqlcluster but do not want to destory data in mysqlcluster.

drivebyer commented 1 year ago

It seems no workaround, maybe we can add option to control it.