You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A pod that sends within its first ~8 s has no SVID yet: SPIRE delivers the initial SVID ~7.5 s after the agent subscribes (two empty updates first) — h2 requests fail 503 UF connection_timeout / UO in that window (was 503 NC on QUIC before #1051) #1053
Observed (talos-main rev249 = 1.0.3-0173c39 with #1051, short e2e 2026-09-28 17:51:56Z: k6 loaders created and sending at 300 rps to svc-1/svc-2 (QUIC allow-listed) from ServiceAccount aether-test/default immediately after the deploy's agent roll)
Agent on main-worker-02 for pod k6-soak-loader-z2dkk:
17:51:57.32 adding pod to storage; 17:51:57.34 subscribing to SVIDs (spiffe://aether.internal/ns/aether-test/sa/default)
17:51:57.59 processed SVID update svids=0; 17:52:04.63 processed SVID update svids=0; 17:52:04.80 processed SVID update svids=1 update=initial — 7.46 s after the subscribe
17:52:05.02/05.21 fan-out awaiting_client_cert=0 quic_clusters=1→2 — twins built 0.2–0.4 s after the cert
Data plane in that window (source access logs, all nodes, 17:51–17:52): 163 × 503 — 134 UO,UF upstream_reset_before_response_started{connection_timeout} + 29 URX,UF …{connection_timeout} + 2 URX via_upstream. With the twin withheld, k6's requests rode the h2 cluster aether-test/svc-{1,2}, whose per-connection client certificate (the #842/#843 on-demand SDS selector) had nothing to fetch, so connects sat until connect_timeout (UF) while the pending queue overflowed (UO) and retries exhausted (URX). Zero NC — #1051 removed that class. The same pod under rev248 got 428 NC instead (#1049), and phase B earlier in the day (14:15Z) got 0 — the SVID latency varies.
So the window is not QUIC-specific: any pod that sends on h2 within ~8 s of its CNI ADD fails until its SVID lands. It matters for the #1014newsa soak step (a fresh-ServiceAccount client that sends immediately), for Jobs, and for the #979 "step 0 NC" gate.
Where the 7.5 s is
Between the Broker API subscribe and the initial SVID. Two svids=0 updates first suggests the SPIRE side had no matching entry yet (ClusterSPIFFEID → controller-manager creates the entry on pod creation → server → agent entry sync, default sync interval 5 s) rather than aether's NotFound backoff (no NotFound logged). To confirm: timestamp the entry creation on spire-server for that pod UID against the subscribe time; check spire-agent sync interval in the SPIRE helm values (GitOps).
Options (decision needed)
SPIRE side: shorten the agent's entry sync interval / controller-manager latency so the initial SVID arrives < 1–2 s. Cheapest if it works; measure first.
Data plane: make the h2 client-cert fetch wait instead of fail — connect_timeout on mesh clusters above the SVID latency and a pending-request circuit breaker high enough that a burst at pod start queues rather than overflows. Converts 503s into ~7 s of first-request latency.
Identity before first packet: block the CNI ADD (or gate the pod's netns egress) until the SVID exists, so a pod cannot send without an identity. Delays every pod start by the SVID latency; strongest guarantee.
Activity