---
schema_version: "1"
id: 4acc5b4a9381ee8a03de9cf89ef3df0f8ca5c5b1826a555f0e822a747da49439
title: Uninstalling Runtime Fabric
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/runtime-fabric/2.8/uninstall-self.md
canonical_url: https://docs.mulesoft.com/runtime-fabric/2.8/uninstall-self
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 6b329765831900b71c781c1e56fcb66584e6ec1cb180aeaf3e58bec9631457d2
description: MuleSoft Documentation Site
release: "2.8"
latest: false
---
---
product: Runtime Fabric
version: 2.8
---

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

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:

    ```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/2.8/install-index)

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

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