Skip to content

agent: per-pod listener names carry the pod name without its namespace, so two same-named pods on one node may share a name #1584

Closed

Description

@bpalermo

OutboundListenerName is outbound_http_<pod> and InboundListenerName is inbound_<pod> (agent/internal/xds/proxy/listener.go, ingress.go); the capture and QUIC listener names follow the same form. Cache entries are keyed by netns, not by name. Two pods with the same name in different namespaces scheduled on one node (two StatefulSets called web, each with a web-0) would then produce listeners with the same xDS resource name.

Not verified. To establish: whether the snapshot build rejects, dedups or silently lets one replace the other; what the xDS ACK tracker (name-keyed) credits to whom; what Envoy does with the second listener.

If real, one pod's listeners are missing or point at the other pod's netns, and an ACK for one is taken as an ACK for the other. Found by review of #1559.

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

Activity

  1. added
    bug
    proxy
    on Oct 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugproxy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions