Commit 13799c1
fix: set appProtocol on agent Services for A2A discovery
The kagent controller creates a Service for each Agent CR but does not set
appProtocol on the port. Without appProtocol: kgateway.dev/a2a, AgentGateway's
A2A plugin cannot discover agent Services, forcing traffic through the
controller's passthrough proxy which drops HTTP headers (including traceparent).
Set appProtocol: kgateway.dev/a2a on the agent Service port so AgentGateway
can route directly to agent pods, preserving all headers and enabling
end-to-end distributed tracing.
Closes #1295
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a7fe733 commit 13799c1
1 file changed
Lines changed: 4 additions & 3 deletions
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
536 | | - | |
537 | | - | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
538 | 539 | | |
539 | 540 | | |
540 | 541 | | |
| |||
0 commit comments