Uninstalling Data Foundation
Use the following steps to uninstall Data Foundation by using command line interface.
Procedure
-
Run the following command and export IBM Storage Fusion namespace as environmental variable.
export FUSION_NS="<Storage Fusion namespace>"Important: Replace<Storage Fusion namespace>with your namespace. - Run the following oc command and scale the IBM Storage Fusion storage deployment to 0 replica.
oc scale deployment --replicas=0 isf-cns-operator-controller-manager -n "$FUSION_NS" - Run the following commands and delete the IBM Storage Fusion
Data Foundation CR.
oc delete odfmanager odfmanager oc delete odfcluster odfcluster -n "$FUSION_NS" - Uninstall the Data Foundation. For uninstallation steps, see Uninstalling Data foundation in Internal mode deployment on the IBM Support page.
- Run the following oc command and scale the IBM Storage Fusion storage deployment to 1 replica.
oc scale deployment --replicas=1 isf-cns-operator-controller-manager -n "$FUSION_NS" - Run the following oc command to delete the IBM Storage Fusion
Data Foundation Service Instance CR.
oc delete fusionserviceinstance odfmanager -n "$FUSION_NS" - Run the following oc command to delete the IBM Storage Fusion
Data Foundation Catalog Source.
oc delete catalogsource isf-data-foundation-catalog -n openshift-marketplace