To uninstall TopoLVM, please follow these steps.
Caution
The uninstall procedure cannot be reverted. Think twice whether you can really uninstall TopoLVM.
- Delete all the snapshots and PVCs related to TopoLVM.
- If the scheduler extender is enabled, edit the kube-scheduler's config file and remove TopoLVM's settings. It may be your help to read the configuration guide.
- Please be careful if you have any other settings in extenders section of the configuration file. You can remove only the TopoLVM's setting.
- Uninstall TopoLVM via Helm.
# Check the namespace helm list -A # Uninstall. Here we assume the namespace is `topolvm-system`. helm uninstall --namespace=topolvm-system topolvm
- Remove a label from the target namespace.
- When legacy mode is disabled:
# Please change the namespace depending on your environment. kubectl label namespace topolvm-system topolvm.io/webhook- kubectl label namespace kube-system topolvm.io/webhook-
- When legacy mode is enabled:
# Please change the namespace depending on your environment. kubectl label namespace topolvm-system topolvm.cybozu.com/webhook- kubectl label namespace kube-system topolvm.cybozu.com/webhook-
- When legacy mode is disabled:
- If LVMd is running as a systemd service, stop it on each node.
systemctl is-active lvmd.service systemctl disable --now lvmd.service