You are viewing documentation for Anthos Service Mesh 1.6. View the latest documentation or select another available version:

Uninstalling

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.

  1. 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:
    1. Remove the control plane:

      istioctl manifest generate --set profile=asm-multicloud | kubectl delete --ignore-not-found=true -f -
      
    2. 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.

  2. Turn off sidecar auto-injection, if enabled:

    kubectl label namespace YOUR_NAMESPACE istio-injection=disabled