Uninstalling the CSI driver implementation

To remove the Container Storage Interface (CSI) integration from your cluster, uninstall the CSI driver implementation.

Prerequisites
  • MicroShift is installed and running.

  • The CSI driver implementation is deployed on the MicroShift node.

Procedure
  1. Delete the lvmclusters object by running the following command:

    $ oc delete -n openshift-storage lvmclusters.lvm.topolvm.io/lvms
    Example output
    lvmcluster.lvm.topolvm.io "lvms" deleted
  2. Delete the lvms-operator by running the following command:

    $ oc delete -n openshift-storage deployment.apps/lvms-operator
    Example output
    deployment.apps "lvms-operator" deleted
  3. Delete the topolvm-provisioner StorageClass by running the following command:

    $ oc delete storageclasses.storage.k8s.io/topolvm-provisioner
    Example output
    storageclass.storage.k8s.io "topolvm-provisioner" deleted