Repository navigation
Labels
Description
Summary
The Gateway CRD in inference-gateway/operator gained a new optional spec.a2a block (operator PR inference-gateway/operator#269, issue inference-gateway/operator#268). It lets an operator user turn the gateway into an A2A server and have the operator discover Agent CRs by label selector, rendering them into A2A_AGENTS.
New user-facing fields:
spec.a2a.enabled- rendersA2A_ENABLED.spec.a2a.agents[]({name, url}) - static entries rendered intoA2A_AGENTSas<name>=<url>.spec.a2a.serviceDiscovery(enabled,namespace,selector) - discoversAgentCRs and appends<metadata.name>=<status.card.url>, falling back to the in-cluster Service URL when the card URL is not reported yet.spec.a2a.resourceUrl- rendersA2A_RESOURCE_URL, defaulting to<scheme>://<first HTTPRoute hostname>/a2a.spec.a2a.timeouts.client,spec.a2a.timeouts.streamIdle,spec.a2a.cardRefreshInterval- renderA2A_CLIENT_TIMEOUT,A2A_STREAM_IDLE_TIMEOUTandA2A_CARD_REFRESH_INTERVAL.- New status fields
status.a2aAgents/status.a2aAgentCountand anA2Aprint column onkubectl get gateways.
Note the gateway-side support is inference-gateway/inference-gateway#756, which is still open; the docs for spec.a2a should land alongside it.
Affected pages
- The Gateway CRD reference (the
spec.mcpsection is the closest existing model -spec.a2amirrors its shape). - Any operator "deploying agents" / A2A guide that currently stops at the
AgentCR, since the gateway can now front them.
Acceptance Criteria
- The Gateway CRD reference documents every
spec.a2afield and the env var each one renders. - Label-selector discovery of
AgentCRs is documented, including thestatus.card.urlto Service URL fallback. - The alias rules are stated: aliases must match
^[a-z0-9_-]+$and be unique, per-agent credentials go into the URL as basic auth, and an invalid or duplicate alias degrades to a bare URL. -
status.a2aAgentCountand the newA2Aprint column are covered.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Oct 3, 2026
@claude can you document this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Oct 3, 2026
Claude finished @edenreich's task in 3m 33s —— View job •
docs/issue-952-20261003-2053• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-952-20261003-2053?quick_pull=1&title=Issue%20%23952%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%23952%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documenting
Gateway.spec.a2aoperator.mdGateway CRD,spec.mcpas the model,AgentCR section)spec.a2areference, discovery + alias rules, status fields and print columnslint:md,format:check,build- all pass)What landed
All changes are in
operator.md:## A2A Agents (spec.a2a)section - field table forenabled,agents[].{name,url},serviceDiscovery.{enabled,namespace,selector},resourceUrl,timeouts.client,timeouts.streamIdle,cardRefreshInterval, each with the env var it renders (A2A_ENABLED,A2A_AGENTS,A2A_RESOURCE_URL,A2A_CLIENT_TIMEOUT,A2A_STREAM_IDLE_TIMEOUT,A2A_CARD_REFRESH_INTERVAL).### Discovering Agent CRs- label-selector discovery, thestatus.card.urlto in-cluster Service URL fallback, theAgentwatch that re-rendersA2A_AGENTSwithout aGatewayedit, union/dedup-on-URL/sort, and the logged-and-ignored discovery error.### Alias rules-^[a-z0-9_-]+$, unique across static and discovered agents, degrade-to-bare-URL on failure, per-agent credentials as basic auth in the URL (the gateway does not forward the caller's bearer token).### Protected resource URL- the<scheme>://<first HTTPRoute hostname>/a2adefault and when to pin it.Gatewayexample plus the resulting pod env vars.a2a.*; theAgentCR section now names the gateway as a dispatcher (it previously said the gateway never calls agents) and notesmetadata.nameas the discovery alias.status.a2aAgents[]/status.a2aAgentCountand theMCPS/A2Aprint columns onkubectl get gateways.Field shapes, defaults and behavior came from the operator CRD and controller rather than the issue summary, so the
A2Acolumn example matches the actualprintcolumnorder.Not done: no links to generated
configuration.mdanchors for theA2A_*variables - gateway-side support is unreleased and the schema does not carry them yet, so the section instead states thatspec.a2ais ignored by older gateway images.a2a.mdwas left alone; it is a CLI-oriented page and the acceptance criteria are covered by the operator reference.PR
#953
| Branch
inference-gateway-releaser commentedon Oct 4, 2026
🎉 This issue has been resolved in version 0.9.21 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀