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 Gloo Gateway
List all the Gloo Gateway resources in your cluster.
kubectl get gloo-gateway -AExample output:
NAMESPACE NAME httpbin routeoption.gateway.solo.io/parent-remove-header 12mRemove each resource.
kubectl delete -n <namespace> <resource-name>List all the Gateway API resources in your cluster.
kubectl get gateway-api -ARemove each resource.
kubectl delete -n <namespace> <resource-name>Uninstall Gloo Gateway.
If you installed Gloo Gateway in a different namespace than
gloo-system, include the-n <namespace>option.glooctl uninstallBy default, the
gloo-systemnamespace and Gloo Gateway CRDs created by theglooctl installcommand are not removed. To remove the namespace and CRDs, include the--alloption.glooctl uninstall --allUninstall the Gloo Gateway release.
helm uninstall gloo -n gloo-systemOptional: If you installed the Gloo UI, uninstall the Helm releases.
helm uninstall gloo-platform -n gloo-system helm uninstall gloo-platform-crds -n gloo-systemDelete the
solo.ioCRDs.kubectl get crds | grep 'solo.io' | awk '{print $1}' | xargs kubectl delete crd
Remove the Kubernetes Gateway API CRDs.
kubectl delete -f https://github.com/kubernetes-sigs/gateway-api/releases/download/v1.4.0/standard-install.yamlDelete the
gloo-systemnamespace.kubectl delete namespace gloo-system
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 namespace httpbinRemove the Petstore sample app.
kubectl delete -f https://raw.githubusercontent.com/solo-io/gloo/v1.13.x/example/petstore/petstore.yaml