Component ยท Data side
APG router (Envoy 1.39.0)
BOTH Component Gateway
What it is
The router is the Envoy proxy inside the gateway runtime pod. It receives every request, asks the policy engine what to do, applies path rewrites, and forwards the request to the LLM vendor, MCP server, agent or telemetry collector.
Why it exists
Something has to move the traffic quickly while policies make decisions. Envoy is a proven proxy, and the policy engine plugs into it.
How it works
- Listens on 22893 (HTTP) and 22894 (HTTPS) on-prem (Choreo Cloud uses 8080 and 8443). The admin interface is off by default; when switched on it listens on 9901 on loopback.
- Starts with a minimal bootstrap file. Listeners, routes and clusters all arrive later through xDS, Envoy's dynamic configuration protocol, from the gateway-controller.
- Filter order is fixed: ext_proc (calls the policy engine), then a Lua filter for request transformation, then the router.
Identity and access
The router itself does not authenticate. It hands each request to the policy engine, whose policies do. Its link to the engine is a local Unix socket inside the pod.
Key facts
- Version
- Envoy 1.39.0 (gateway image 2026.09.24)
- Ports (on-prem)
- 22893, 22894; admin 9901 only if enabled
- Config source
- xDS from gateway-controller
- Side
- Data plane (gateway)
- Namespace
- <org>-<env>
Talks to (1)
- calls APG policy engine Per-request policy execution; fail closedext_proc gRPC over UDS
Used by (1)
- called by APG gateway-controller Pushes listeners, routes, clusters, SDSEnvoy xDS ADS :18000