Uninstall
Uninstall Gloo Mesh or deregister your cluster from the Gloo management plane.
If you no longer need your Gloo Mesh environment, you can uninstall Gloo Mesh components, such as the control and data plane, and any Gloo-managed Istio installations.
Single cluster
Sidecar service mesh
If you used the Istio lifecycle manager, uninstall the Istio control plane and gateways before you uninstall Gloo Mesh. 1. Delete the `GatewayLifecycleManager` resources for any gateways. ```sh kubectl delete GatewayLifecycleManager istio-ingressgateway -n gloo-mesh kubectl delete GatewayLifecycleManager istio-egressgateway -n gloo-mesh ``` 2. Verify that the gateway resources are removed before you proceed to the next step. ```sh kubectl get all -n gloo-mesh-gateways ``` 3. Delete the `IstioLifecycleManager` resource for the `istiod` control plane. ```sh kubectl delete IstioLifecycleManager istiod-control-plane -n gloo-mesh ``` 4. Verify that the Istio resources are removed before you proceed to the next step. ```sh # Change the revision as needed kubectl get all -n gm-iop-1-23 kubectl get all -n istio-system ``` 5. Delete the Istio namespaces. ```sh kubectl delete ns istio-system kubectl delete ns gloo-mesh-gateways ```
Ambient service mesh
If you manually deployed an ambient mesh with Helm:
- Uninstall the Helm releases for ztunnel, CNI, istiod, and the CRDs.
- Delete Helm releases for any gateways that you installed.
- Delete the Istio namespaces.
Gloo Mesh
Uninstall the Gloo Mesh release.
Uninstall any Gloo CRDs, such as by deleting the CRD Helm release.
If you do not have a CRD Helm release, check for and manually remove any CRDs.
Delete the
gloo-mesh
namespace.
Multicluster
Before you begin, save the names and contexts of the clusters you want to uninstall Gloo Mesh from.
Sidecar service mesh
If you used the legacy Istio lifecycle manager, uninstall the Istio control plane and gateways before you uninstall Gloo Mesh.
- Delete the
GatewayLifecycleManager
resources for any gateways. - Verify that the gateway resources are removed before you proceed to the next step.
- Delete the
IstioLifecycleManager
resource for theistiod
control plane. - Verify that the Istio resources are removed before you proceed to the next step.
- Delete the Istio namespaces from the workload clusters.
Gloo Mesh
Uninstall the Gloo agent that runs on each workload cluster.
Delete the
gloo-mesh
namespaces from each workload cluster.Uninstall the Gloo management plane components from the management cluster.
Delete the
gloo-mesh
namespace.