Honor listen-ip-addresses for the stats listener #1481
All Vouch review confidence checks passed
Residual risk 0.24 = Change Risk (0.42) × (1 − Review Confidence (0.43)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 335 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.348
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #1481"
general
weight: 0.35
linkvt
Proposed change
Addresses #1474.
The bootstrap stats listener currently binds to
::withipv4_compat: true. This works with IPv4 networking when kernel IPv6 support is available, but still requires an AF_INET6 socket. Envoy fails at startup on hosts booted withipv6.disable=1.Move the port-9000 stats listener from the static bootstrap into LDS and use the existing
config-kourierlisten-ip-addressessetting, consistent with the application listeners:0.0.0.0::0.0.0.0,::Keep the loopback-only Envoy admin interface and
service_statscluster in the bootstrap. Preserve the existing route/method allowlist using a dedicated connection manager that does not inherit application external authorization, tracing, access logging, or PROXY protocol.Document the address setting and that stats become available after LDS configuration arrives. Gateway readiness/liveness already use the dynamic port-8081 listener.
Tests included
go test ./pkg/...passes locally.Unit tests exercise:
Draft / merge blockers
An IPv4-only KinD network or the
net.ipv6.conf.*.disable_ipv6sysctls alone do not reproduce the missing AF_INET6 support. Seccomp would simulate the relevant socket failure; exact kernel-boot reproduction would require a VM booted withipv6.disable=1./kind bug
``
release-note
``Kourier's stats listener honors config-kourier's listen-ip-addresses setting, defaulting to IPv4 without requiring kernel IPv6 support. Metrics become available after the gateway receives its LDS configuration.