FAQ
How to change VMStorage PVC storage class
With Helm chart deployment:
- Update the PVCs manually
- Run
kubectl delete statefulset --cascade=orphan {vmstorage-sts}
which will delete the sts but keep the pods - Update helm chart with the new storage class in the volumeClaimTemplate
- Run the helm chart to recreate the sts with the updated value
With Operator deployment:
- Update the PVCs manually
- Run
kubectl delete vmcluster --cascade=orphan {cluster-name}
- Run
kubectl delete statefulset --cascade=orphan {vmstorage-sts}
- Update VMCluster spec to use new storage class
- Apply cluster configuration