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

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

## [](#unistall-rtfctl-rtf)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`​ 名前空間が存在しなくなったことを確認します。

## [](#関連情報)関連情報

- [Runtime Fabric のインストール](https://docs.mulesoft.com/jp/runtime-fabric/2.8/install-index)
- [Runtime Fabric の設定](https://docs.mulesoft.com/jp/runtime-fabric/2.8/configuring-runtime-fabric)
- [Runtime Fabric のアップグレード](https://docs.mulesoft.com/jp/runtime-fabric/2.8/upgrade-index)