6 Removing the Istio Module

You can remove a deployment of a service mesh and leave the Kubernetes cluster in place. To do this, you remove the Istio module from the environment.

Use the olcnectl module uninstall command to remove the Istio module. For example, to uninstall the Istio module named myistio in the environment named myenvironment:

olcnectl module uninstall \
--environment-name myenvironment \
--name myistio

The Istio module and its supporting Prometheus and Grafana modules are removed from the environment.

You can confirm the Istio, Prometheus, and Grafana modules are removed using the olcnectl module instances command. These three modules are no longer listed as modules in the environment.

You can also confirm the Istio components are removed using the kubectl command on a control plane node to query all deployments running in the istio-system namespace. No deployments are returned.

kubectl get deployment --namespace istio-system