Skip to content
Latest (currently 2026.10.2) has the newest features, bug fixes, and CVE patches of Solo Enterprise for agentgateway.

For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.

Uninstall

Page as Markdown

If you no longer need your Solo Enterprise for agentgateway 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 Solo Enterprise for agentgateway control plane and gateway proxies.

Note

Did you use Argo CD to install Solo Enterprise for agentgateway? Skip to the Argo CD steps.

  1. Get all HTTP routes in your environment.

    kubectl get httproutes -A
  2. Remove each HTTP route.

    kubectl delete -n <namespace> httproute <httproute-name>
  3. Get all reference grants in your environment.

    kubectl get referencegrants -A
  4. Remove each reference grant.

    kubectl delete -n <namespace> referencegrant <referencegrant-name>
  5. Get all gateways in your environment that are configured by the enterprise-agentgateway gateway class.

    kubectl get gateways -A | grep enterprise-agentgateway
  6. Remove each gateway.

    kubectl delete -n <namespace> gateway <gateway-name>
  7. Uninstall the control plane.

    1. Uninstall the enterprise-agentgateway Helm release.

      helm uninstall enterprise-agentgateway -n agentgateway-system
    2. Delete the CRDs.

      helm uninstall enterprise-agentgateway-crds -n agentgateway-system
    3. Remove the agentgateway-system namespace.

      kubectl delete namespace agentgateway-system
    4. Confirm that the CRDs are deleted.

      kubectl get crds | grep enterprise-agentgateway || true
  8. 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.6.1/standard-install.yaml

Uninstall with ArgoCD

For ArgoCD installations, use the following steps to clean up your environment.

  1. Port-forward the Argo CD server on port 9999.

    kubectl port-forward svc/argocd-server -n argocd 9999:443
  2. Open the Argo CD UI.

  3. Log in with the admin username and gateway password.

  4. Find the application that you want to delete and click x.

  5. Select Foreground and click Ok.

  6. Verify that the pods were removed from the agentgateway-system namespace.

    kubectl get pods -n agentgateway-system

    Example output:

    No resources found in agentgateway-system namespace.
  7. Remove the agentgateway-system namespace.

    kubectl delete namespace agentgateway-system
  8. Remove the argocd namespace.

    kubectl delete namespace argocd
  1. Port-forward the Argo CD server on port 9999.

    kubectl port-forward svc/argocd-server -n argocd 9999:443
  2. Log in to the Argo CD UI.

    argocd login localhost:9999 --username admin --password gateway --insecure
  3. Delete the enterprise-agentgateway application.

    argocd app delete enterprise-agentgateway-helm --cascade --server localhost:9999 --insecure

    Example output:

    Are you sure you want to delete 'enterprise-agentgateway-helm' and all its resources? [y/n] y
    application 'enterprise-agentgateway-helm' deleted   
  4. Delete the enterprise-agentgateway CRD application.

    argocd app delete enterprise-agentgateway-crds-helm --cascade --server localhost:9999 --insecure

    Example output:

    Are you sure you want to delete 'enterprise-agentgateway-crds-helm' and all its resources? [y/n] y
    application 'enterprise-agentgateway-crds-helm' deleted   
  5. Verify that the pods were removed from the agentgateway-system namespace.

    kubectl get pods -n agentgateway-system

    Example output:

    No resources found in agentgateway-system namespace.
  6. Remove the agentgateway-system namespace.

    kubectl delete namespace agentgateway-system
  7. Remove the argocd namespace.

    kubectl delete namespace argocd