Cleanup IBM Storage Scale container native
Complete the following steps:
-
Change to a default namespace:
oc project default
-
Enter the following command to uninstall the operator, kubernetes objects, namespaces, and more.
oc delete -f https://raw.githubusercontent.com/IBM/ibm-spectrum-scale-container-native/v5.2.1.x/generated/scale/install.yaml --ignore-not-found=true
-
Enter the following command to clean up the performance monitoring and IBM Storage Scale CSI artifacts.
a. Enter the following command to list the PVs with claim of
datadir-ibm-spectrum-scale-scale-pmcollector
. Two PVs are returned.oc get pv -lapp.kubernetes.io/instance=ibm-spectrum-scale,app.kubernetes.io/name=pmcollector oc delete pv -lapp.kubernetes.io/instance=ibm-spectrum-scale,app.kubernetes.io/name=pmcollector
b. Enter the following command to delete the Storage Classes created by performance monitoring and IBM Storage Scale CSI artifacts:
oc delete sc -lapp.kubernetes.io/instance=ibm-spectrum-scale,app.kubernetes.io/name=pmcollector oc delete sc ibm-spectrum-scale-sample