Skip to main content
Version: 25.8

Uninstall PX-CSI

You might need to uninstall Portworx CSI if it was installed in the wrong namespace or if you plan to decommission a cluster. You can uninstall Portworx CSI from your clusters using the Portworx Operator by updating the StorageCluster object.

note

The PVCs, backend volumes, and snapshots are not deleted. These resources remain in a stale state.

  1. Enter the oc get command to display the name of your Portworx CSI storage cluster and specify your namespace:

    oc get -n portworx storagecluster <storagecluster-name>
  2. Delete the StorageCluster by running the following command:

    oc delete StorageCluster <your-storagecluster-name> -n portworx

    This operation can take several minutes to complete.

  3. Uninstall Portworx Operator from Operator Hub.