Uninstalling Data Foundation

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

  1. Run the following command and export IBM Fusion namespace as environmental variable.
    export FUSION_NS="<Fusion namespace>"
    Important: Replace <Fusion namespace> with your namespace.
  2. 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"
  3. Run the following commands and delete the IBM Fusion Data Foundation CR.
    oc delete odfmanager odfmanager
    oc delete odfcluster odfcluster -n "$FUSION_NS"
  4. Uninstall the Data Foundation. For uninstallation steps, see Uninstalling Data foundation in Internal mode deployment on the IBM Support page.
  5. 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"
  6. Run the following oc command to delete the IBM Fusion Data Foundation Service Instance CR.
    oc delete fusionserviceinstance odfmanager -n "$FUSION_NS"
  7. Run the following oc command to delete the IBM Fusion Data Foundation Catalog Source.
    oc delete catalogsource isf-data-foundation-catalog -n openshift-marketplace