Uninstall
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
Remove the Gloo Gateway control plane and gateway proxies.
Get all HTTP routes in your environment.
kubectl get httproutes -ARemove each HTTP route.
kubectl delete -n <namespace> httproute <httproute-name>Get all reference grants in your environment.
kubectl get referencegrants -ARemove each reference grant.
kubectl delete -n <namespace> referencegrant <referencegrant-name>Get all gateways in your environment that are configured by the
gloo-gateway-v2gateway class.kubectl get gateways -A | grep gloo-gateway-v2Remove each gateway.
kubectl delete -n <namespace> gateway <gateway-name>Uninstall Gloo Gateway.
Uninstall the gloo-gateway Helm release.
helm uninstall gloo-gateway -n gloo-systemDelete the Gloo Gateway CRDs.
helm uninstall gloo-gateway-crds -n gloo-systemRemove the
gloo-systemnamespace.kubectl delete namespace gloo-systemConfirm that the CRDs are deleted.
kubectl get crds | grep kgateway
Remove the Kubernetes Gateway API CRDs. If you installed a different version or channel of the Kubernetes Gateway API, update the following command accordingly.
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.4.0/standard-install.yaml
Uninstall with ArgoCD
For ArgoCD installations, use the following steps to clean up your environment.
Uninstall optional components
Remove any optional components that you no longer need, such as sample apps.
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 monitoringRemove the httpbin sample app.
kubectl delete -f https://raw.githubusercontent.com/kgateway-dev/kgateway/refs/heads/v2.0.x/examples/httpbin.yamlRemove the Petstore sample app.
kubectl delete -f https://raw.githubusercontent.com/kgateway-dev/kgateway.dev/v2.0.x/assets/docs/examples/petstore.yaml