GitOps の削除
Red Hat OpenShift GitOps 1.8
クラスターからの OpenShift GitOps Operator の削除
概要
このドキュメントでは、OpenShift GitOps Operator のデフォルトの namespace に追加された Argo CD インスタンスを削除する手順を説明します。また、クラスターから OpenShift GitOps Operator を削除する方法についても説明します。
第1章 Red Hat OpenShift GitOps のアンインストール
Red Hat OpenShift GitOps Operator のアンインストールは 2 つの手順で実行されます。
- Red Hat OpenShift GitOps Operator のデフォルト namespace に追加された Argo CD インスタンスを削除します。
- Red Hat OpenShift GitOps Operator をアンインストールします。
Operator のみをアンインストールしても、作成された Argo CD インスタンスは削除されません。
1.1. Argo CD インスタンスの削除
GitOps Operator の namespace に追加された Argo CD インスタンスを削除します。
手順
- ターミナル に以下のコマンドを入力します。
$ oc delete gitopsservice cluster -n openshift-gitops
注記
Web コンソール UI から Argo CD クラスターを削除することはできません。
このコマンドが正常に実行されると、すべての Argo CD インスタンスは openshift-gitops
namespace から削除されます。
同じコマンドを使用して、他の namespace から他の Argo CD インスタンスを削除します。
$ oc delete gitopsservice cluster -n <namespace>
1.2. GitOps Operator のアンインストール
手順
-
Operators → OperatorHub ページから、Filter by keyword ボックスを使用して
Red Hat OpenShift GitOps Operator
タイルを検索します。 - Red Hat OpenShift GitOps Operator タイルをクリックします。Operator タイルはこれがインストールされていることを示します。
- Red Hat OpenShift GitOps Operator 記述子ページで、Uninstall をクリックします。
関連情報
- OpenShift Container Platform での Operator のアンインストール方法は、クラスターからの Operator の削除 セクションを参照してください。
法律上の通知
Copyright © 2024 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries.
Linux® is the registered trademark of Linus Torvalds in the United States and other countries.
Java® is a registered trademark of Oracle and/or its affiliates.
XFS® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries.
MySQL® is a registered trademark of MySQL AB in the United States, the European Union and other countries.
Node.js® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the official Joyent Node.js open source or commercial project.
The OpenStack® Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
All other trademarks are the property of their respective owners.