Contact Us 1-800-596-4880

Uninstalling Runtime Fabric

Depending on your installation method, you can use the Runtime Fabric command line tool (rtfctl) or Helm to uninstall Runtime Fabric.

Uninstall Runtime Fabric Using rtfctl

To uninstall Runtime Fabric using rtfctl:

  1. Using Runtime Manager, delete all Mule applications and API gateways deployed on Runtime Fabric.

  2. Verify on all associated environments that you have removed all applications.

  3. Using Runtime Manager, delete the Runtime Fabric.

  4. Run the rtfctl uninstall command to uninstall the Runtime Fabric services from the Kubernetes cluster.

  5. Run the rtfctl uninstall --confirm command to verify the uninstall operation.

  6. After the uninstall command finishes, verify that there are no Runtime Fabric applications or services running in the cluster.

Uninstall Runtime Fabric Using Helm

To uninstall Runtime Fabric using Helm:

  1. Using Runtime Manager, delete all Mule applications and API gateways deployed on Runtime Fabric.

  2. Verify on all associated environments that you have removed all applications.

  3. Using Runtime Manager, delete the Runtime Fabric.

  4. Run the following command:

    helm uninstall runtime-fabric -n rtf

    If need to uninstall due to an error in the installation process, for example, if the install did not complete correctly, run the following command:

    helm uninstall runtime-fabric -n rtf --no-hooks

Uninstalling Runtime Fabric on Red Hat OpenShift

Perform the following procedure to uninstall Runtime Fabric on Red Hat OpenShift:

  1. Using Runtime Manager, delete all Mule applications and API gateways deployed on Runtime Fabric.

  2. Verify that you have removed all applications from all associated environments.

  3. Using Runtime Manager, delete the Runtime Fabric.

  4. In the Red Hat OpenShift console, navigate to Operators > Installed Operators.

  5. Select the Runtime Fabric operator.

  6. Click Uninstall.

  7. Using the following Helm command, uninstall Runtime Fabric from the cluster:

    helm uninstall runtime-fabric -n rtf --no-hooks
  8. Delete the rtf namespace from the cluster:

    oc delete ns rtf

Troubleshooting Deletion of the rtf Namespace

If the command to delete the rtf namespace does not work, complete the following steps:

  1. Run the following command:

    oc get ns rtf -o json > rtf.json
  2. Edit rtf.json and remove kubernetes from the finalizer array.

  3. Run the following commands:

    oc replace --raw "/api/v1/namespaces/rtf/finalize" -f ./rtf.json
    oc get ns
  4. Confirm the rtf namespace is no longer present.