-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
K8ssandra operator deletes pvc on K8ssandraCluster deletion #1229
Comments
The data is preserved in PVs, not PVCs. k8ssandra-operator does not delete the PVs, that's controlled by your StorageClass. |
Yes, you are correct . Please assume this scenario where I delete my k8ssandra cluster and recreate with no change. The operator will delete the PVCs and then recreate it, which will create a new PV (provisioned by storage class). In this scenario I can't use my existing PV. It would be good if there is a toggle as in this Reference |
What is missing?
Preserve the pvcs when deleting a K8ssandraCluster
Why do we need it?
If there is an accidental deletion . The data will be lost forever .But if this feature exists. we can toggle whether to keep data or destroy altogether.
Environment
K8ssandra Operator version:
cr.k8ssandra.io/k8ssandra/k8ssandra-operator:v1.13.0
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: