Questo contenuto non è disponibile nella lingua selezionata.
Chapter 1. Uninstalling OpenShift Service Mesh
Uninstall the Red Hat OpenShift Service Mesh Operator and remove its associated resources, including custom resource definitions (CRDs), by using the OpenShift Container Platform web console or the CLI.
1.1. Uninstalling OpenShift Service Mesh Operator 3 and the Istio control plane using the web console Copia collegamentoCollegamento copiato negli appunti!
Uninstalling Red Hat OpenShift Service Mesh Operator 3 and the Istio control plane from an existing OpenShift Container Platform instance requires removing the following:
-
Istioresource -
IstioCNIresource - Red Hat OpenShift Service Mesh Operator 3
-
istio-systemproject -
istio-cniproject
Optionally, you can remove the Istio custom resource definitions (CRDs).
You can uninstall the Red Hat OpenShift Service Mesh Operator 3 either by using the OpenShift Container Platform web console.
Procedure
Delete the
Istioresource:-
In the OpenShift web console, click Operators
Installed Operators. - Click Istio in the Provided APIs column.
-
Click the Options menu
Delete Istio. - At the prompt to confirm the action, click Delete.
-
In the OpenShift web console, click Operators
Delete the
IstioCNIresource:-
In the OpenShift web console, click Operators
Installed Operators. - Click IstioCNI in the Provided APIs column.
-
Click the Options menu
Delete IstioCNI. - At the prompt to confirm the action, click Delete.
-
In the OpenShift web console, click Operators
Uninstall Red Hat OpenShift Service Mesh 3 Operator:
-
In the OpenShift web console, click Operators
Installed Operators. - Locate Red Hat OpenShift Service Mesh 3 Operator.
-
Click the Options menu
Uninstall Operator. - At the prompt to confirm the action, select the Delete all operand instances for this operator checkbox.
- Click Uninstall.
-
In the OpenShift web console, click Operators
Delete the
istio-systemproject:-
In the OpenShift web console, click Home
Projects. -
Locate the name of the
istio-systemproject. -
Click the Options menu
Delete Project. - At the prompt to confirm the action, enter the name of the project.
- Click Delete.
-
In the OpenShift web console, click Home
Delete the
istio-cniproject:-
In the OpenShift web console, click Home
Projects. -
Locate the name of the
istio-cniproject. -
Click the Options menu
Delete Project. - At the prompt to confirm the action, enter the name of the project.
- Click Delete.
-
In the OpenShift web console, click Home
1.2. Uninstall OpenShift Service Mesh by using the CLI Copia collegamentoCollegamento copiato negli appunti!
Uninstalling Red Hat OpenShift Service Mesh Operator 3 and the Istio control plane from an existing OpenShift Container Platform instance requires removing the following:
-
Istioresource -
IstioCNIresource - Red Hat OpenShift Service Mesh Operator 3
-
istio-systemproject -
istio-cniproject
Optionally, you can remove the Istio custom resource definitions (CRDs).
You can uninstall the Red Hat OpenShift Service Mesh Operator 3 either by using the OpenShift Container Platform command line interface (CLI).
Procedure
Delete the
Istioresource:Retrieve the
Istioresource name by running the following command:$ oc get istio -n istio-systemReplace
<name_of_custom_resource>with the output from the previous command, and run the following command to remove the custom resource:$ oc delete istio/<name_of_custom_resource>
Delete the
IstioCNIresource:Retrieve the name of the
IstioCNIresource by running the following command:$ oc get istioCNI -n istio-systemReplace
<name_of_custom_resource>with the output from the previous command, and run the following command to remove the custom resource:$ oc delete istioCNI/<name_of_custom_resource>
Delete the
istio-systemandistio-cniprojects:Delete the
istio-systemnamespace by running the following command:$ oc delete ns istio-systemDelete the
istio-cninamespace by running the following command:$ oc delete ns istio-cni
Uninstall OpenShift Service Mesh Operator 3:
Delete the
servicemeshoperator3subscription:$ oc delete subscription servicemeshoperator3 -n openshift-operatorsExample output
output: subscription.operators.coreos.com "servicemeshoperator3" deletedCheck the current version of the
servicemeshoperator3subscribed Operator in thecurrentCSVfield by running the following command:$ oc get clusterserviceversion -n openshift-operators | grep servicemeshoperator3 | awk '{print $1}'Example output
output: currentCSV: servicemeshoperator3.v3.0.0Delete the cluster service version (CSV) for the Operator in the target namespace using the
currentCSVvalue from the previous step:$ oc delete clusterserviceversion servicemeshoperator3.v3.0.0 -n openshift-operatorsExample output
clusterserviceversion.operators.coreos.com "servicemeshoperator3.v3.0.0" deleted.
1.3. Delete Istio custom resource definitions Copia collegamentoCollegamento copiato negli appunti!
Deleting Istio custom resource definitions (CRDs) are optional.
Procedure
- To delete the Istio CRDs, run the following command:
$ oc get crds -oname | grep -e istio.io -e sailoperator.io | xargs kubectl delete