Uninstalling the IBM App Connect Operator from the Red Hat OpenShift cluster

OpenShift-only contentUninstall the IBM App Connect Operator from your cluster if no longer required. Use these instructions to uninstall the IBM App Connect Operator by using the Red Hat® OpenShift® CLI.

Before you begin

Ensure that you have cluster administrator authority with cluster-admin permissions.

Procedure

To uninstall the IBM App Connect Operator, complete the following steps:

  1. From the command line, log in to your Red Hat OpenShift cluster by using the oc login command.
  2. Delete all deployed instances of App Connect Dashboard, App Connect Designer, integration servers, integration runtimes, switch servers, and configuration objects. Run the following commands to list (or check for), and then delete instances from the namespace (namespaceName) where they are installed. You can omit -n namespaceName if you're already in that namespace.
    Tip: If the IBM App Connect Operator was installed cluster wide into all namespaces in the cluster, the instances might be installed across multiple namespaces and will need to be deleted from those namespaces.
    1. App Connect Designer instances:
      oc get designerauthoring -n namespaceName
      oc delete designerauthoring --all -n namespaceName
    2. Integration servers:
      oc get integrationserver -n namespaceName
      oc delete integrationserver --all -n namespaceName
    3. Integration runtimes:
      oc get integrationruntime -n namespaceName
      oc delete integrationruntime --all -n namespaceName
    4. Configuration objects:
      oc get configuration -n namespaceName
      oc delete configuration --all -n namespaceName
    5. App Connect Dashboard instances:
      oc get dashboard -n namespaceName
      oc delete dashboard --all -n namespaceName
    6. Switch server:
      oc get switchserver -n namespaceName
      oc delete switchserver --all -n namespaceName
  3. List and then delete the subscription for the IBM App Connect Operator, where namespaceName is a single namespace where the Operator is installed, or is openshift-operators if the Operator was installed cluster wide.
    oc get subscription ibm-appconnect -n namespaceName
    oc delete subscription ibm-appconnect -n namespaceName
  4. List and then delete the ClusterServiceVersion for the IBM App Connect Operator, where:
    • namespaceName is a single namespace, or openshift-operators for a cluster-wide installation.
    • V.R.M is the CSV version for the IBM App Connect Operator (for example, 10.0.0), which was displayed in the output for the oc get csv command.
    oc get csv -n namespaceName
    oc delete csv ibm-appconnect.vV.R.M -n namespaceName
  5. Uninstall IBM Cloud Pak foundational services.

    For more information, see Uninstalling foundational services (online) or Uninstalling IBM Cloud Pak® foundational services in an airgap environment in the IBM Cloud Pak foundational services documentation.

    Note: This step is applicable only if the IBM Cloud Pak foundational services Operator was installed for use with your deployment.
  6. List the CatalogSources in the OpenShift Operator catalog and then delete the CatalogSource for the IBM Operator Catalog.
    CAUTION:
    Only complete this step if you want to remove the IBM App Connect Operator and other IBM offerings from the catalog so they are no longer available for installation in your cluster.
    oc get catalogsource -n openshift-marketplace
    oc delete catalogsource ibm-operator-catalog -n openshift-marketplace
  7. If the namespace where the IBM App Connect Operator was installed isn't being used for other resources, delete the namespace.
    oc delete project namespaceName