Skip to main content



Before uninstalling HwameiStor, please make sure you have backed up all the data.

Delete helm instance

$ helm delete -n hwameistor hwameistor


1. Remove namespace

$ kubectl delete ns hwameistor

2. Remove LocalVolumeGroup instances


The LocalVolumeGroup object has a special finalizer, so its instances must be deleted before its definition is deleted.

$ kubectl delete --all

3. Remove CRD, Hook, and RBAC

$ kubectl get crd,mutatingwebhookconfiguration,clusterrolebinding,clusterrole -o name \
| grep hwameistor \
| xargs -t kubectl delete

4. Remove StorageClass

$ kubectl get sc -o name \
| grep hwameistor-storage-lvm- \
| xargs -t kubectl delete