This page explains how to uninstall Anthos Service Mesh and open source Istio.
Uninstalling Anthos Service Mesh
Run one of the following commands to uninstall the Anthos Service Mesh components that
were installed with the ASM configuration profile. These commands delete the
istio-system
namespace and all custom resource definitions (CRDs), including
any CRDs that you applied. If you created CRDs, make sure you have copies
of them.
Remove the control plane.
- If you installed Anthos Service Mesh on Anthos clusters on VMware, Anthos clusters on AWS, Amazon Elastic Kubernetes Service, or Microsoft Azure Kubernetes Service:
Remove the control plane:
istioctl manifest generate --set profile=asm-multicloud | kubectl delete --ignore-not-found=true -f -
Delete the
istio-system
namespace:kubectl delete namespace istio-system
If you installed Anthos Service Mesh on Google Kubernetes Engine:
istioctl manifest generate --set profile=asm-gcp | kubectl delete --ignore-not-found=true -f -
This command automatically deletes the
istio-system
namespace.
Turn off sidecar auto-injection, if enabled:
kubectl label namespace YOUR_NAMESPACE istio-injection=disabled