Component ยท Data side
External caller
BOTH Component Data plane
What it is
An external caller is any client application that calls a deployed agent over HTTP through the agent's public address. It sits outside the platform and is not managed by it. It could be a web app, another service or a script.
It is a customer walking up to the shop counter. The shop did not hire them, but the counter decides whether they are served.
Why it exists
Agents exist to be used. Showing the caller on the map makes clear where outside traffic enters the platform and which checks it meets.
How it works
- Each deployed internal agent gets an HTTPRoute on the environment's external gateway. The host comes from the environment's ingress settings.
- The route path is /<routePath>, and for agents created before routePath existed it is /<component>-<endpoint>.
- On the data plane, the OpenChoreo kgateway receives the request first (port 19080 by default in the local setup) and passes it to the API Platform Gateway.
- The API Platform Gateway can require an API key or an OAuth token on the route, depending on how the agent was configured.
Identity and access
Whatever the agent's route requires: an API key (the X-API-Key header by default) or a Bearer token.
Key facts
- Protocol
- HTTP
- First hop
- Data plane kgateway (port 19080 by default locally)
- Then
- API Platform Gateway policies
- Managed by the platform
- No
- Namespace
- anywhere
Talks to (2)
- calls OC kgateway (gateway-default) A client calls the agent public address, which the first gateway routes by host and path prefixHTTP on the gateway ingress port (default 19080 locally)
- calls API Platform Gateway runtime (APG) DESIGN-ONLY Planned: the caller presents a token from an issuer the environment trustsHTTP with the exchanged caller token