5.2.6. Support Log Gather リソースの削除
Support Log Gather をアンインストールしたら、クラスターから関連リソースを削除できます。
前提条件
-
cluster-admin権限でクラスターにアクセスできる。 - OpenShift Container Platform Web コンソールにアクセスできる。
手順
- OpenShift Container Platform Web コンソールにログインします。
must-gather-operator namespace 内のコンポーネントのデプロイメントを削除します。
- Project ドロップダウンメニューをクリックして、利用可能なすべてのプロジェクトのリストを表示し、must-gather-operator プロジェクトを選択します。
-
Workloads
Deployments に移動します。 - 削除するデプロイメントを選択します。
- Actions ドロップダウンメニューをクリックし、Delete Deployment を選択します。
- 確認ダイアログボックスで、Delete をクリックしてデプロイメントを削除します。
または、コマンドラインインターフェイス (CLI) を使用して、
must-gather-operatornamespace にあるコンポーネントのデプロイメントを削除します。$ oc delete deployment -n must-gather-operator -l operators.coreos.com/support-log-gather-operator.must-gather-operator
オプション: Support Log Gather によってインストールされたカスタムリソース定義 (CRD) を削除します。
-
Administration
CustomResourceDefinitions に移動します。 -
CRD をフィルタリングするには、Name フィールドに
MustGatherと入力します。 次の各 CRD の横にある Options メニュー
をクリックし、Delete Custom Resource Definition を選択します。
-
MustGather
-
-
Administration
オプション:
must-gather-operatornamespace を削除します。-
Administration
Namespaces に移動します。 -
must-gather-operator の 横にあるオプションメニュー
をクリックし、[名前空間の削除] を選択します。
-
確認ダイアログボックスで
must-gather-operatorと入力し、Delete をクリックします。
-
Administration