This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.1.12.2.2. CLI からのコントロールプレーンの削除
以下の手順に従って、CLI を使用して Red Hat OpenShift Service Mesh コントロールプレーンを削除します。
前提条件
- Red Hat OpenShift Service Mesh コントロールプレーンがデプロイされている必要があります。
-
oc
として知られる OpenShift Container Platform コマンドラインインターフェイス (CLI) へのアクセス。
ServiceMeshControlPlane
を削除すると、サービスメッシュは Operator にインストールしたすべてのものをアンインストールするよう指示します。
servicemeshcontrolplane
の代わりに短い smcp
エイリアスを使用できます。
- OpenShift Container Platform CLI にログインします。
以下のコマンドを実行して、インストールした
ServiceMeshControlPlane
の名前を取得します。oc get servicemeshcontrolplanes -n istio-system
$ oc get servicemeshcontrolplanes -n istio-system
Copy to Clipboard Copied! Toggle word wrap Toggle overflow <name_of_custom_resource>
を先のコマンドの出力に置き換え、以下のコマンドを実行してカスタムリソースを削除します。oc delete servicemeshcontrolplanes -n istio-system <name_of_custom_resource>
$ oc delete servicemeshcontrolplanes -n istio-system <name_of_custom_resource>
Copy to Clipboard Copied! Toggle word wrap Toggle overflow