The created mesh is abnormal but cannot be deleted¶
Cause Analysis¶
The mesh is in a failed state and the mesh instance cannot be clicked. Because the cluster is managed, a mesh gateway instance is created, or sidecar injection is enabled in the mesh, the detection always fails when the mesh is removed, so it cannot be deleted normally.
Solution¶
It is recommended to troubleshoot the cause of the failure of the specific mesh and solve it. If you want to delete it forcefully, please do the following:
-
Disable sidecar injection for managed clusters
-
Disable namespace sidecar automatic injection.
In
Container Management
, select the cluster ->Namespace
-> Modify the label —> remove theistio-injection: enabled
label, and restart all Pods under the namespace. -
Disable workload sidecar injection:
In
Container Management
, select the cluster ->Workload
—>Stateless Load
—>Labels and Annotations
—> removesidecar.istio.io/inject: true
label.
-
-
Delete the created mesh gateway instance.
-
Remove the cluster.
In
Container Management
, select the global cluster, and searchglobalmeshes.discovery.mspider.io
for custom resources. Select the mesh to remove the cluster under the mspider-system namespace, and edit the YAML: -
Return to the service mesh and delete the mesh instance.