Uninstalling Alauda Service Mesh
You can uninstall the Alauda Service Mesh Operator and its resources from your Alauda Container Platform. This can be done through the Alauda Container Platform web console or the command line interface (CLI). Additionally, you have the option to delete the Istio custom resource definitions (CRDs).
TOC
Uninstalling via the web console
Uninstalling the Alauda Service Mesh v2 Operator and the Istio control plane from an Alauda Container Platform involves deleting the following components:
IstioresourceIstioCNIresource- Alauda Service Mesh v2 Operator
istio-systemnamespaceistio-cninamespace
You can also optionally remove the Istio custom resource definitions (CRDs).
The Alauda Service Mesh v2 Operator can be uninstalled using the Alauda Container Platform web console.
Procedure
Delete the Istio resource
- In the Alauda Container Platform web console, navigate to Administrator.
- Select Marketplace > OperatorHub.
- Search for the
Alauda Service Mesh v2. - Locate the Alauda Service Mesh v2, and click to select it.
- Click All Instances tab.
- From the Filter by instance type dropdown, select
Istio. - Click the "⋮" button for the
Istioresource, then click Delete in the menu. - When prompted, confirm the action by clicking Delete.
Delete the IstioCNI resource
In the Alauda Service Mesh v2 view of OperatorHub:
- Click All Instances tab.
- From the Filter by instance type dropdown, select
IstioCNI. - Click the "⋮" button for the
IstioCNIresource, then click Delete in the menu. - When prompted, confirm the action by clicking Delete.
Uninstall the Alauda Service Mesh v2 Operator
In the Alauda Service Mesh v2 view of OperatorHub:
- Click the Uninstall button in the top-right corner.
- In the confirmation prompt, read the uninstall notice: Removing the operator will not remove any of its custom resource definitions or managed resources. If you have created a resource instance, you need to delete it manually.
- Click Uninstall.
Delete the istio-system namespace
Delete the istio-cni namespace
Uninstalling via the CLI
To uninstall the Alauda Service Mesh v2 Operator and the Istio control plane from an Alauda Container Platform, you must delete the following:
IstioresourceIstioCNIresource- Alauda Service Mesh v2 Operator
istio-systemprojectistio-cniproject
Optionally, you can also delete the Istio custom resource definitions (CRDs).
The Alauda Service Mesh v2 Operator can be uninstalled using the Alauda Container Platform command line interface (CLI).
Procedure
Delete the Istio resource
-
Get the
Istioresource name by executing this command:Example output
-
Use the name from the previous command's output to replace
<name_of_custom_resource>, and then run the following to remove it:Example output
Delete the IstioCNI resource
-
Get the
IstioCNIresource by executing this command:Example output
-
Run the following to remove it:
Example output
Delete the istio-system and istio-cni namespaces
-
Delete the
istio-systemnamespace with the following command:Example output
-
Delete the
istio-cninamespace with the following command:Example output
Uninstall the Alauda Service Mesh v2 Operator
-
Delete the
servicemesh-operator2subscription:Example output
Deleting Istio custom resource definitions
The deletion of Istio custom resource definitions (CRDs) is an optional step.
Procedure
-
To delete the Istio CRDs, execute the command below: