mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
76 lines
2.0 KiB
Plaintext
76 lines
2.0 KiB
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * service_mesh/v1x/installing-ossm.adoc
|
|
// * service_mesh/v2x/installing-ossm.adoc
|
|
|
|
[id="ossm-control-plane-remove_{context}"]
|
|
= Removing the {ProductName} control plane
|
|
|
|
You can remove the {ProductShortName} control plane by using the {product-title} web console or the CLI.
|
|
|
|
|
|
[id="ossm-control-plane-remove-operatorhub_{context}"]
|
|
== Removing the control plane with the web console
|
|
|
|
Follow this procedure to remove the {ProductName} control plane by using the web console.
|
|
|
|
.Prerequisites
|
|
|
|
* The {ProductName} control plane must be deployed.
|
|
|
|
.Procedure
|
|
|
|
. Log in to the {product-title} web console.
|
|
|
|
. Click the *Project* menu and choose the `istio-system` project from the list.
|
|
|
|
. Navigate to *Operators* -> *Installed Operators*.
|
|
|
|
. Click on *Service Mesh Control Plane* under *Provided APIs*.
|
|
|
|
. Click the `ServiceMeshControlPlane` menu {kebab}.
|
|
|
|
. Click *Delete Service Mesh Control Plane*.
|
|
|
|
. Click *Delete* on the confirmation dialog window to remove the `ServiceMeshControlPlane`.
|
|
|
|
|
|
|
|
[id="ossm-control-plane-remove-cli_{context}"]
|
|
== Removing the control plane from the CLI
|
|
|
|
Follow this procedure to remove the {ProductName} control plane by using the CLI.
|
|
|
|
.Prerequisites
|
|
* The {ProductName} control plane must be deployed.
|
|
* Access to the {product-title} Command-line Interface (CLI) also known as `oc`.
|
|
|
|
.Procedure
|
|
|
|
[NOTE]
|
|
====
|
|
When you remove the `ServiceMeshControlPlane`, {ProductShortName} tells the Operator to begin uninstalling everything it installed.
|
|
====
|
|
|
|
[TIP]
|
|
====
|
|
You can use the shortened `smcp` alias in place of `servicemeshcontrolplane`.
|
|
====
|
|
|
|
. Log in to the {product-title} CLI.
|
|
|
|
. Run this command to retrieve the name of the installed `ServiceMeshControlPlane`:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc get servicemeshcontrolplanes -n istio-system
|
|
----
|
|
|
|
+
|
|
. Replace `<name_of_custom_resource>` with the output from the previous command, and run this command to remove the custom resource:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ oc delete servicemeshcontrolplanes -n istio-system <name_of_custom_resource>
|
|
----
|