---
schema_version: "1"
id: edb58b367c0f9400a28fc6a11fa0fa9f79fef93d390355f6b62109dd718dc446
title: Uninstalling Runtime Fabric
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/runtime-fabric/latest/uninstall-self.md
canonical_url: https://docs.mulesoft.com/runtime-fabric/latest/uninstall-self
source_site: docs.mulesoft.com
content_type: documentation
content_hash: f2b18b36ef1a2fdd7e918381de26a4869c4efbe91c543249396d9d551f538b38
description: MuleSoft Documentation Site
release: "3.0"
latest: true
---
---
product: Runtime Fabric
version: 3.0
is-latest-version: true
---

# Uninstalling Runtime Fabric

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

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` commands, follow these steps:

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

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

3.  In 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:

    ```copy
    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:

    ```copy
    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:

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

8.  Delete the `rtf` namespace from the cluster:

    ```copy
    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:

    ```copy
    oc get ns rtf -o json > rtf.json
    ```

2.  Edit `rtf.json` and remove `kubernetes` from the `finalizer` array.

3.  Run the following commands:

    ```copy
    oc replace --raw "/api/v1/namespaces/rtf/finalize" -f ./rtf.json
    oc get ns
    ```

4.  Confirm the `rtf` namespace is no longer present.

## See Also

- [Installing Runtime Fabric](https://docs.mulesoft.com/runtime-fabric/latest/install-index)

- [Configuring Runtime Fabric](https://docs.mulesoft.com/runtime-fabric/latest/configuring-runtime-fabric)

- [Upgrading Runtime Fabric](https://docs.mulesoft.com/runtime-fabric/latest/upgrade-index)
