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.

Agentgateway as ingress to an ambient mesh

Page as Markdown

Install agentgateway and deploy it as an ingress gateway to route external traffic into your ambient mesh.

Note

This feature requires the following licenses. Contact your account representative to obtain valid licenses.

  • Your ambient mesh must be installed with the Solo distribution of Istio and an Enterprise-level license for Solo Enterprise for Istio.
  • A Solo Enterprise for agentgateway license.

When you use agentgateway as the ingress gateway for a Solo Enterprise for Istio ambient mesh, external traffic enters through agentgateway and is routed to services enrolled in the mesh. This gateway gives you a single entry point for general API traffic, AI agents, MCP servers, and LLM backends.

Agentgateway ingress runs outside the ambient data plane, which uses the same model as an Istio ingress gateway. The ingress pod is not captured by ztunnel and instead obtains its own Istio certificate directly from Istiod. The ingress pod then opens HBONE connections to mesh services, so that traffic is still mutually authenticated end-to-end and appears in mesh telemetry. This approach is compatible with PeerAuthentication in STRICT mode without additional annotations.

Before you begin

Install or upgrade Solo Enterprise for agentgateway with the Istio integration enabled. When Istio integration is enabled, the controller sets the ingress pod’s ambient dataplane mode to none so that ztunnel does not capture its traffic. The gateway then authenticates with Istiod directly and originates HBONE connections to mesh services.

  • Install: Install the agentgateway control plane. Include --set istio.autoEnabled=true in the Helm install command to enable the Istio integration for all gateways cluster-wide.
  • Upgrade: Upgrade your installation to include the istio.autoEnabled=true setting. Update the version as needed.
    helm get values enterprise-agentgateway -n agentgateway-system -o yaml > values.yaml
    helm upgrade -i -n agentgateway-system enterprise-agentgateway oci://us-docker.pkg.dev/solo-public/enterprise-agentgateway/charts/enterprise-agentgateway \
    -f values.yaml \
    --set istio.autoEnabled=true \
    --version v2026.10.2

Install a Solo Enterprise for Istio ambient mesh

Install an ambient mesh that runs the Solo distribution of Istio 1.30 or later with an Enterprise-level Solo Enterprise for Istio license. To set up an ambient mesh, see the install guides for a single cluster or multicluster mesh.

Deploy the ingress gateway

  1. Save the namespace where you want to deploy the ingress gateway.

    export INGRESS_NAMESPACE=<namespace>
  2. Create a Gateway resource using the enterprise-agentgateway GatewayClass. Because istio.autoEnabled=true was set during install, Istio integration is already enabled for all built-in-class gateways and no per-gateway EnterpriseAgentgatewayParameters resource is needed. The controller provisions a proxy pod and a LoadBalancer service in the same namespace.

    kubectl apply -f - <<EOF
    apiVersion: gateway.networking.k8s.io/v1
    kind: Gateway
    metadata:
      name: agentgateway-ingress
      namespace: ${INGRESS_NAMESPACE}
    spec:
      gatewayClassName: enterprise-agentgateway
      listeners:
      - name: http
        port: 8080
        protocol: HTTP
        allowedRoutes:
          namespaces:
            from: All
    EOF
  3. Verify that the ingress gateway pod is running and the Gateway is programmed.

    kubectl get pods -n ${INGRESS_NAMESPACE} -l gateway.networking.k8s.io/gateway-name=agentgateway-ingress
    kubectl get gateway agentgateway-ingress -n ${INGRESS_NAMESPACE}

    Example output:

    NAME                                      READY   STATUS    RESTARTS   AGE
    agentgateway-ingress-6d9f7b8c4-xr2vk      1/1     Running   0          30s
    
    NAME                    CLASS                     ADDRESS          PROGRAMMED   AGE
    agentgateway-ingress    enterprise-agentgateway   198.51.100.10    True         35s
  4. Save the external IP address of the ingress gateway.

    export INGRESS_GW_ADDRESS=$(kubectl get gateway agentgateway-ingress -n ${INGRESS_NAMESPACE} \
      -o jsonpath='{.status.addresses[0].value}')
    echo $INGRESS_GW_ADDRESS

Route traffic with HTTPRoute

Create an HTTPRoute to forward incoming requests to a service in your ambient mesh. The following example routes requests for www.example.com to the httpbin service in the httpbin namespace.

  1. Deploy the httpbin sample app and enroll the httpbin namespace in the ambient mesh.

    kubectl apply -f https://raw.githubusercontent.com/kgateway-dev/kgateway/refs/heads/main/examples/httpbin.yaml
    kubectl label namespace httpbin istio.io/dataplane-mode=ambient
  2. Create an HTTPRoute that references the ingress gateway.

    kubectl apply -f - <<EOF
    apiVersion: gateway.networking.k8s.io/v1
    kind: HTTPRoute
    metadata:
      name: httpbin
      namespace: httpbin
    spec:
      parentRefs:
      - name: agentgateway-ingress
        namespace: ${INGRESS_NAMESPACE}
      hostnames:
      - "www.example.com"
      rules:
      - matches:
        - path:
            type: PathPrefix
            value: /get
        backendRefs:
        - name: httpbin
          port: 8000
    EOF
  3. Send a request to the ingress gateway to verify that traffic reaches the app.

    curl -H "Host: www.example.com" http://${INGRESS_GW_ADDRESS}:8080/get

    A 200 OK response with a JSON body confirms the route is working.

  4. Optional: If you installed the Solo distribution of istioctl, verify that mTLS is used between the ingress gateway and the httpbin pod. For more information about this command, see the CLI reference.

    istioctl ztunnel-config connections --workload-namespace httpbin

    The PROTOCOL column shows HBONE for inbound connections to the httpbin pod, confirming that agentgateway opens an HBONE connection to the ztunnel node proxy and that traffic is mutually authenticated end-to-end.

    Example output:

    WORKLOAD                              DIRECTION   LOCAL           REMOTE                                   REMOTE TARGET   PROTOCOL   CONN ID
    httpbin-6d6bdc6fd6-xr2vk.httpbin     Inbound     10.0.0.5:80     agentgateway-ingress.ingress-ns:52314    10.0.0.5:80     HBONE      1a2b3c4d

Note

Using agentgateway as both an ingress gateway and a waypoint proxy? If you also deploy agentgateway as a waypoint and want ingress traffic to flow through the waypoint, add the istio.io/ingress-use-waypoint=true label when you enroll services. See Install agentgateway as a waypoint for the full enrollment steps.

Cleanup

You can optionally remove the resources that you set up as part of this guide.
kubectl delete httproute httpbin -n httpbin
kubectl delete gateway agentgateway-ingress -n ${INGRESS_NAMESPACE}