Use the following steps to uninstall Data Foundation by using command line interface.
Before you begin
Before you uninstall, reclaim access to the data stored in the Fusion Data Foundation cluster.
Procedure
-
Run the following command and export IBM Fusion namespace as environmental variable.
export FUSION_NS="<Fusion namespace>"
Important: Replace <Fusion namespace> with your namespace.
- Run the following oc command and scale the IBM 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 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 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 Fusion
Data Foundation Service Instance CR.
oc delete fusionserviceinstance odfmanager -n "$FUSION_NS"
- Run the following oc command to delete the IBM Fusion
Data Foundation Catalog Source.
oc delete catalogsource isf-data-foundation-catalog -n openshift-marketplace