A support agent can look up orders but never cancel them, and the rule is enforced outside its Pod, where it can't bypass it even if a malicious prompt talks it into trying. That is the pitch of Agent Gateway for GKE, which Google released in preview on November 30, 2026: policies per agent, per MCP server and per individual tool, with no sidecars and no code changes.
What lands in GKE
Google already offered agent governance for Cloud Run and for agents running on other clouds or on-premises. It now extends it to GKE with the same identities, registry and policies. There are four pieces:
- Agent Identity and Agent Registry. Every labeled agent gets its own SPIFFE ID with short-lived certificates and registers itself. Policies reference agents, MCP servers and tools by name, not by IP.
- Access and content policies. Who can call each agent, and which MCP tools each agent can use. Model Armor screens prompts, responses and tool payloads for prompt injection and data exfiltration; you can also plug in your own policy engine through Service Extensions.
- Agent Gateway. Enforces those policies on top of GKE ambient networking: a per-node proxy captures traffic outside the Pod and encrypts it with mTLS based on each Pod's identity.
- Observability. Every request is logged with the calling agent and the reason it was allowed or blocked, with metrics and traces in the console.
Traffic splits into three paths, each with its own gateway and launch stage:
| Traffic | Where it's enforced | Stage |
|---|---|---|
| Ingress (clients calling the agent or MCP server) | GKE Gateway on a regional Application Load Balancer | Preview |
| Egress outside the cluster | Secure Web Proxy in your VPC | Preview |
| East-west inside the cluster | One Layer 7 proxy per namespace | Gated preview |
Support for Agent Sandbox, GKE's isolation for LLM-generated code, is listed as "coming soon".
Why it matters: authorization that speaks MCP
A classic service mesh authorizes by service, path or HTTP method. To it, tools/call is always the same POST, whether it targets get_order_status or cancel_order. Agent Gateway parses the JSON-RPC call and decides per tool. In Google's example, a GCPAuthzPolicy allows listing tools and calling only the read one:
kind: GCPAuthzPolicy
spec:
enforcementLevel: L7
rules:
- to:
operations:
- mcp:
methods:
- name: "tools/list"
- name: "tools/call"
params:
- exact: "get_order_status"
action: ALLOWA call to cancel_order is rejected at the proxy without ever opening a connection to the server. For egress, the IAM condition can key on tool annotations, for example allowing only tools flagged with read_only_hint on an external MCP server. And because the decision happens outside the Pod, a compromised agent can't switch it off by editing its own settings.
Turning it on
The east-west guide requires a Rapid channel cluster on GKE 1.37.2-gke.1042000 or later, in us-central1 or europe-west1, created with ambient networking:
gcloud beta container clusters create CLUSTER_NAME \
--region=europe-west1 \
--release-channel=rapid \
--enable-ambient-networking \
--enable-dataplane-v2 \
--enable-fleet \
--gateway-api=standard \
--workload-pool=PROJECT_ID.svc.id.goog
kubectl label namespace TOOL_NAMESPACE \
networking.gke.io/dataplane-mode=ambientEach agent then needs its own ServiceAccount (not default) and these markers on its Deployment to get an identity and join the registry:
metadata:
labels:
registry.gke.io/functional-type: "AGENT"
spec:
template:
metadata:
annotations:
iam.gke.io/spiffe-identity-type: "agent-identity"
iam.gke.io/identity: "spiffe://agents.global.org-ORG_ID.system.id.goog/*"
iam.gke.io/inject-podcertificates: "true"The rest comes from a central GCPAgentGateway resource in ambient-system, your GCPAuthzPolicy objects and, if you want Model Armor, a regional template bound with GCPExtensionBinding. Google recommends starting policies in dry-run mode, checking the logs for what would have been blocked, and only then enforcing.
How it compares with agentgateway
The open reference point is agentgateway, the MCP and A2A proxy donated to the Linux Foundation in 2025 and now an Agentic AI Foundation project.
| Agent Gateway on GKE | agentgateway | |
|---|---|---|
| Model | Managed Google Cloud service | Open source, Apache 2.0 |
| Deployment | GKE with ambient networking, two regions | Kubernetes (Gateway API, Helm) or standalone |
| Identity | Per-agent SPIFFE ID, automatic registry | JWT, RBAC and external providers (Auth0, Keycloak) |
| MCP authorization | By method, tool and annotations | RBAC over servers, tools and agents |
| Content screening | Built-in Model Armor | External authorization (extAuthz) |
| Maturity | Preview, no pricing in the announcement | AAIF project; you deploy and run it |
If you already live on GKE and want per-agent identity, content screening and context-rich logs without building anything, Google's option saves a lot of work, at the cost of tying you to Google Cloud. If your agents span platforms, or you need something that works today outside us-central1 and europe-west1, agentgateway is portable and doesn't hinge on a preview.
Gotchas before you try it
Maturity is the big one: everything is preview under Pre-GA terms, east-west requires requesting access, and TLS inspection isn't supported, so encrypted traffic to external destinations can't be screened for content. The announcement doesn't include pricing either. europe-west1 is fine for a pilot; production should wait for GA.
Sources
- Govern AI agents on GKE: a deep dive into Gemini platform agent governance, Google Cloud Blog
- Agent Gateway for GKE overview, Google Cloud Documentation
- Set up agent east-west governance on GKE, Google Cloud Documentation
- agentgateway: Introduction, agentgateway.dev