If you no longer need your Gloo Gateway environment, you can uninstall the control plane and all gateway proxies. You can also optionally remove related components such as Prometheus and sample apps.

Uninstall Gloo Gateway

  1. List all the Gloo Gateway resources in your cluster.

      kubectl get gloo-gateway -A
      

    Example output:

      NAMESPACE     NAME
    httpbin       routeoption.gateway.solo.io/parent-remove-header   12m
      
  2. Remove each resource.

      kubectl delete -n <namespace> <resource-name>
      
  3. List all the Gateway API resources in your cluster.

      kubectl get gateway-api -A
      
  4. Remove each resource.

      kubectl delete -n <namespace> <resource-name>
      
  5. Uninstall Gloo Gateway.

  6. Remove the Kubernetes Gateway API CRDs.

      kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.2.1/standard-install.yaml
      
  7. Delete the gloo-system namespace.

      kubectl delete namespace gloo-system
      

Uninstall optional components

Remove any optional components that you no longer need, such as sample apps.

  1. If you no longer need the Prometheus stack to monitor resources in your cluster, uninstall the release and delete the namespace.

      helm uninstall kube-prometheus-stack -n monitoring
    kubectl delete namespace monitoring
      
  2. Remove the httpbin sample app.

      kubectl delete namespace httpbin
      
  3. Remove the Petstore sample app.

      kubectl delete -f https://raw.githubusercontent.com/solo-io/gloo/v1.13.x/example/petstore/petstore.yaml