Uninstall Istio in a Cluster

To uninstall Istio,

  1. Select rancher-istio in the `istio-system namespace and click Delete
  2. After rancher-istio is deleted, you can then select all the remaining apps in the istio-system namespace and click Delete

Result: The app in the cluster gets removed. The Istio sidecar cannot be deployed on any workloads in the cluster.

Troubleshooting Uninstall: If you didn’t follow the uninstall steps, you may encounter a warning during uninstall:

Error: uninstallation completed with 1 error(s): unable to build kubernetes objects for delete: unable to recognize "": no matches for kind "MonitoringDashboard" in version "monitoring.kiali.io/v1alpha1"

Disable Istio in a Namespace

  1. On the Namespace page, you will see a list of namespaces. Go to the namespace where you want to disable and click the select Edit as Form or Edit as Yaml
  2. Remove the istio-injection=enabled label from the namespace

Result: When workloads are deployed in this namespace, they will not have the Istio sidecar.

Remove the Istio Sidecar from a Workload

Disable Istio in the namespace, then redeploy the workloads with in it. They will be deployed without the Istio sidecar.