Skip to content

Bracket IPv6 destinations in the agentgateway egress authority - #187

Open
steigr wants to merge 1 commit into
kagent-dev:mainfrom
steigr:ipv6/agentgateway-egress-authority
Open

steigr wants to merge 1 commit into
kagent-dev:mainfrom
steigr:ipv6/agentgateway-egress-authority

Conversation

@steigr

@steigr steigr commented Nov 19, 2026

Copy link
Copy Markdown

The agentgateway egress config joined destination.address and
destination.port with a colon, so an IPv6 destination came out as
fd00::1:8443 in the access log and the dynamic backend target. It now
brackets addresses that contain a colon. The egress demo script builds its
URLs and log pattern the same way.

Part of IPv6 support: #182

Testing: hack/render-manifests.sh --check, shellcheck. With actors on IPv6
(the actor networking PR), TestActorEgressHTTPSNonStandardPort and
TestMicroVMClockAfterDelayedRestore failed on an IPv6-only cluster with
agentgateway and pass with this change. The full e2e suite passed with
agentgateway on ipv4, ipv6 and dual, on gVisor and microVM.

AI use: I used Claude Code to write and test this change.
I reviewed every change and can explain it.

  • Tests pass
  • Docs updated

The egress config joined destination.address and destination.port with a
colon, so an IPv6 destination came out as fd00::1:8443. The access log
then recorded an authority no client could match, and dynamic backends
only worked because agentgateway fell back to a hostname lookup. Bracket
the address when it contains a colon. The egress demo script builds its
URLs and log pattern the same way.

Signed-off-by: steigr <me@stei.gr>
@steigr
steigr force-pushed the ipv6/agentgateway-egress-authority branch from c13758c to 2a94db0 Compare November 19, 2026 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant