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
agent: a restart leaves the node's proxy on stale xDS for ~15 s (pod replacement ~9 s + start-to-first-serve ~7 s) #1123
Split out of #1103 (closed by #1122 for the client-visible failures). Measured on talos main-worker-04, 2026-10-01 TRIPLE roll: old agent stopped 05:41:24.45, new agent container started 05:41:33.16, served xDS at 05:41:39.93 — 15.5 s during which the node's proxy has no ADS stream and routes on whatever it last heard (drain marks, endpoint removals, new twins and LDS changes all wait). #1118 made the proxy reconnect within 1 s of the agent serving again and #1122/#1101/#1113 bound the damage to in-flight requests, but the gap itself is unchanged; kind showed 6–16 s.
Two terms to attack separately:
Pod replacement (~9 s): the agent DaemonSet rolls delete-then-create. Options: surge with a socket handoff (the agent owns host-path UDS sockets for xDS and CNI, so a surge pod needs the listener handed over or a second socket path the proxy/CNI fail over to), or pre-pulled image + faster termination.
Gate: p99 time without an ADS stream across an agent roll, measured from the proxy's side (control_plane.connected_state or the ADS stream log lines), < 5 s on talos; no regression in #1085/#1099/#1118's first-serve gates.
Folded in from #1129 (closed): in the 2026-10-02 soak's TRIPLE on main-worker-05 the agent restarted inside the node's proxy handoff (old agent's last line 06:54:18.4, new one's first 06:54:25.4, ADS down ~15 s) and the successor logged an SDS Secret initial fetch timed out at 06:54:34.34. No request failed, but this is the visible cost of the gap: per-resource fetches (SDS/RDS/EDS) keep their 15 s timeouts by design, so a restart gap at or above that lets a successor proceed with a resource missing. Bringing the gap well under 15 s (target < 5 s) removes it.
Data point from the 2026-10-03 nightly soak (nightly-1003/2.2.3-222af5d, 2 Envoy workers; #1093 closed on it): the only non-success probes of the run — 14 mesh_dns timeouts (Get …: context deadline exceeded, elapsed 2,000–2,368 ms), all on main-worker-05 at 06:53:35–38Z — fell exactly in this issue's gap.
The TRIPLE churn step restarts proxy + agent + svc-3 together. On w05 the proxy's child forked at 06:53:16.7, the parent drained at 06:53:21.5 and exited at 06:53:36.86; the agent's ADS stream dropped at ~06:53:33.4 (Envoy: DeltaAggregatedResources … closed since 1s ago at 06:53:34.45) and the replacement agent pod logged first at 06:53:39.33 (container start 06:53:41Z). The failed probes started at ~06:53:33.5–36.3 — the ~6 s with no agent serving xDS, overlapping the parent's final seconds on the node with the run's largest stall bracket (27.8k starved ms). Six of the 14 have a source-side 0 DC access-log row to the echo endpoint; rows for the other 8 were not found (likely lost with the exiting parent's logs — unverified).
Same shape as the 10-02 run's F3 observation (there with an SDS initial fetch timed out that did not recur this time). So the remaining soak residual is this issue's window, not CPU starvation: once #1142-era changes halve the gap further or proposal 041 lands, the TRIPLE on the hottest node is the check.
Proposal 041 proven on talos-main — 8 h soak nightly-1005-surge/2.4.5-c6dacde (2026-10-05, surge on, maxSurge 1 / maxUnavailable 0).
10 agent takeovers (5 nodes × the agent roll and the TRIPLE): every one ran two agent pods on the node (another agent owns this node; starting as a standby → node lock acquired → this agent owns the node).
Proxy-side gap, old agent's last log line → first CDS response on the new stream (an upper bound, includes snapshot delivery): median 0.44 s, max 0.83 s; lock → CDS median 0.31 s. control_plane.connected_state (5 s scrape) caught a single 0 sample (w05, TRIPLE).
0 prober failures in either agent-roll bracket; mesh_dns timeouts in the w05 TRIPLE: 0 (10-03 had 14 there). Liveness 0/719,987, k6 0/9,179,875.
0 agent restarts / OOMKills (10-04 had 3 at the 64Mi limit); agent Go memory peak 59 MiB of 128Mi.
Activity
bpalermo commentedon Oct 2, 2026
Folded in from #1129 (closed): in the 2026-10-02 soak's TRIPLE on main-worker-05 the agent restarted inside the node's proxy handoff (old agent's last line 06:54:18.4, new one's first 06:54:25.4, ADS down ~15 s) and the successor logged an SDS Secret
initial fetch timed outat 06:54:34.34. No request failed, but this is the visible cost of the gap: per-resource fetches (SDS/RDS/EDS) keep their 15 s timeouts by design, so a restart gap at or above that lets a successor proceed with a resource missing. Bringing the gap well under 15 s (target < 5 s) removes it.🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
fix(spire): drop the broker ClientConn backoff reset that races grpc-…
chore(chart): aether 2.2.2 (above main's 2.2.1) (#1123)
fix(agent): an agent restart stops waiting out retry ladders before i…
bpalermo commentedon Oct 3, 2026
Data point from the 2026-10-03 nightly soak (
nightly-1003/2.2.3-222af5d, 2 Envoy workers; #1093 closed on it): the only non-success probes of the run — 14 mesh_dnstimeouts (Get …: context deadline exceeded, elapsed 2,000–2,368 ms), all on main-worker-05 at 06:53:35–38Z — fell exactly in this issue's gap.The TRIPLE churn step restarts proxy + agent + svc-3 together. On w05 the proxy's child forked at 06:53:16.7, the parent drained at 06:53:21.5 and exited at 06:53:36.86; the agent's ADS stream dropped at ~06:53:33.4 (Envoy:
DeltaAggregatedResources … closed since 1s agoat 06:53:34.45) and the replacement agent pod logged first at 06:53:39.33 (container start 06:53:41Z). The failed probes started at ~06:53:33.5–36.3 — the ~6 s with no agent serving xDS, overlapping the parent's final seconds on the node with the run's largest stall bracket (27.8k starved ms). Six of the 14 have a source-side0 DCaccess-log row to the echo endpoint; rows for the other 8 were not found (likely lost with the exiting parent's logs — unverified).Same shape as the 10-02 run's F3 observation (there with an SDS
initial fetch timed outthat did not recur this time). So the remaining soak residual is this issue's window, not CPU starvation: once #1142-era changes halve the gap further or proposal 041 lands, the TRIPLE on the hottest node is the check.feat(chart): agent.updateStrategy.surge rolls the node agent with a s…
test(e2e): gate the agent surge roll on kind, under load (proposal 041)
fix(agent): a standby is Ready only once its registry and capture gat…
test(e2e): gate the agent surge roll on kind, under load (proposal 041)
test(e2e): the restart-gap bound follows the strategy, 1 s for surge …
feat(agent): node-ownership lock and standby mode for a surge roll of…
feat(agent): agent-ready exec probe over a pod-local health socket (p…
feat(agent): agent-ready exec probe over a pod-local health socket (p…
feat(chart): agent.updateStrategy.surge rolls the node agent with a s…
docs(chart): roll agent surge out in two steps, never in the upgrade …
feat(chart): agent.updateStrategy.surge rolls the node agent with a s…
test(e2e): gate the agent surge roll on kind, under load (proposal 041)
test(e2e): the restart-gap bound follows the strategy, 1 s for surge …
bpalermo commentedon Oct 5, 2026
Proposal 041 proven on talos-main — 8 h soak
nightly-1005-surge/2.4.5-c6dacde(2026-10-05, surge on, maxSurge 1 / maxUnavailable 0).another agent owns this node; starting as a standby→node lock acquired→this agent owns the node).control_plane.connected_state(5 s scrape) caught a single 0 sample (w05, TRIPLE).🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr