---
schema_version: "1"
id: 46fbb4d205fd934cdeed2ae5fb9c0e4f66fecdefcafc1b1898be7e7e95e98bb3
title: Runtime Fabric のアンインストール
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/runtime-fabric/2.5/uninstall-self.md
canonical_url: https://docs.mulesoft.com/jp/runtime-fabric/2.5/uninstall-self
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 32d1647dbf33ca3a1c97a3ede5b7ba8ac533af45b5ab4fdd0a88f5bc2e80fce5
description: MuleSoft Documentation Site
release: "2.5"
latest: false
---
# Runtime Fabric のアンインストール

インストール方法に応じて、Runtime Fabric コマンドラインツール (​`rtfctl`​) または Helm を使用して Runtime Fabric をアンインストールできます。

## [](#rtfctl-を使用して-runtime-fabric-をアンインストールする)rtfctl を使用して Runtime Fabric をアンインストールする

`rtfctl`​ を使用して Runtime Fabric をアンインストールする手順は、次のとおりです。

1. Runtime Manager を使用して、Runtime Fabric でデプロイされたすべての Mule アプリケーションと API ゲートウェイを削除します。
2. 関連するすべての環境で、すべてのアプリケーションを削除したことを確認します。
3. Runtime Manager を使用して、Runtime Fabric を削除します。
4. `rtfctl uninstall`​ コマンドを実行して、Kubernetes クラスターから Runtime Fabric サービスをアンインストールします。
5. `rtfctl uninstall --confirm`​ コマンドを実行して、アンインストール操作を確認します。
6. アンインストールコマンドが終了したら、クラスターで Runtime Fabric アプリケーションまたはサービスが実行されていないことを確認します。

## [](#helm-を使用して-runtime-fabric-をアンインストールする)Helm を使用して Runtime Fabric をアンインストールする

Helm を使用して Runtime Fabric をアンインストールする手順は、次のとおりです。

1. Runtime Manager を使用して、Runtime Fabric でデプロイされたすべての Mule アプリケーションと API ゲートウェイを削除します。
2. 関連するすべての環境で、すべてのアプリケーションを削除したことを確認します。
3. Runtime Manager を使用して、Runtime Fabric を削除します。
4. 次のコマンドを実行します。
    
    ```copy
    helm uninstall runtime-fabric -n rtf
    ```
    
    インストールプロセス中のエラー (例: インストールが正常に完了しなかった) によってアンインストールが必要になった場合は、次のコマンドを実行します。
    
    ```copy
    helm uninstall runtime-fabric -n rtf --no-hooks
    ```

## [](#red-hat-openshift-での-runtime-fabric-のアンインストール)Red Hat OpenShift での Runtime Fabric のアンインストール

Red Hat OpenShift で Runtime Fabric をアンインストールするには、次の手順を実行します。

1. Runtime Manager を使用して、Runtime Fabric でデプロイされたすべての Mule アプリケーションと API ゲートウェイを削除します。
2. すべての関連付けられた環境からすべてのアプリケーションを削除したことを確認します。
3. Runtime Manager を使用して、Runtime Fabric を削除します。
4. Red Hat OpenShift コンソールで、​**\[Operators (Operator)\]**​ > ​**\[Installed Operators (インストール済み Operator)\]**​ に移動します。
5. Runtime Fabric Operator を選択します。
6. **\[Uninstall (アンインストール)\]**​ をクリックします。
7. 次の Helm コマンドを使用して、クラスターから Runtime Fabric をアンインストールします。
    
    ```copy
    helm uninstall runtime-fabric -n rtf --no-hooks
    ```
8. クラスターから ​`rtf`​ 名前空間を削除します。
    
    ```copy
    oc delete ns rtf
    ```

### [](#rtf-名前空間の削除のトラブルシューティング)rtf 名前空間の削除のトラブルシューティング

`rtf`​ 名前空間を削除するコマンドが機能しない場合、次の手順を実行してください。

1. 次のコマンドを実行します。
    
    ```copy
    oc get ns rtf -o json > rtf.json
    ```
2. `rtf.json`​ を編集して ​`kubernetes`​ を ​`finalizer`​ 配列から削除します。
3. 次のコマンドを実行します。
    
    ```copy
    oc replace --raw "/api/v1/namespaces/rtf/finalize" -f ./rtf.json
    oc get ns
    ```
4. `rtf`​ 名前空間が存在しなくなったことを確認します。