Skip to content
If you are interested in trying out Gloo Gateway with the Kubernetes Gateway API, check out Solo Enterprise for kgateway. This version adds enterprise functionality on top of the kgateway open source project.

Uninstall

Page as Markdown

Uninstall Gloo Gateway and related components.

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.

    If you installed Gloo Gateway in a different namespace than gloo-system, include the -n <namespace> option.

    glooctl uninstall
    1. Uninstall the Gloo Gateway release.

      helm uninstall gloo -n gloo-system
    2. Optional: If you installed the Gloo UI, uninstall the Helm releases.

      helm uninstall gloo-platform -n gloo-system
      helm uninstall gloo-platform-crds -n gloo-system
    3. Delete the solo.io CRDs.

      kubectl get crds | grep 'solo.io' | awk '{print $1}' | xargs kubectl delete crd

  6. Remove the Kubernetes Gateway API CRDs.

    kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.4.0/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