Repository navigation
docs(runbook): sizing nodes for a proxy hot restart (#1093) - #1132
Merged
Merged
Conversation
Add capacity and right-sizing guidance to the runbook next to the #1093 thread-stall section: what a handoff costs on talos-main, what happens on a node without headroom, how to read the stall sampler for it, and which knobs help (workload requests, proxy CPU request, co-tenants) or do not (drainTime, concurrency until #1126/#1127). Cross-reference it from proxy.resources and proxy.concurrency in docs/configuration.md. Refs #1093 Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
#1093) The supervisor lines are not field-parsed, so threads:starved matched nothing. Filter on the message text with "[starved]", "[blocked]" or "[busy]". Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Docs only. No code, no chart change.
Adds Sizing nodes for a proxy hot restart to
docs/runbook.md, as a sibling right after A node stalls for seconds during a handoff (#1093), which now ends with a class → cause → where-to-look table that links to it. Every number is stated as a talos-main measurement (5 × 4-core arm64 workers, 2026-10-01/02):parentShutdownTime; ~10–13 extra CPU-s, peak ~1.9 cores) and the rule of thumb: about one core of headroom for ~20 s.starved. Probes failed only in the two most starved of 30 handoffs (4 of 719,979), and k6 saw 0 failures in 9,179,946 requests.aether_supervisor_envoy_thread_stalls_totalper node/class, plus VictoriaLogs queries for theenvoy thread stalllines (per-node count, starved lines for one node).proxy.resources.requests.cpu(500m → 800m cut steady starvation 26–35%, buys weight not capacity, and surge pods mean two requests on the node), co-tenants,drainTime(30 s made it worse, so keep 10 s),proxy.concurrency(helps in an A/B, but don't change it live until proxy: Envoy segfaults in HotRestartingChild::onForwardedUdpPacket when the successor has fewer workers than the parent (4→2 hot restart, 'Mismatched worker index') #1126 and supervisor: the old pod's self-drain calls the Envoy admin on 127.0.0.1:9901 without checking it is its own Envoy — it drained the NEW pod's freshly started Envoy, which then served no new listeners #1127 are fixed), and the agent's no-CPU-limit (fix(chart): the node agent keeps its 200m CPU request, drops its CPU limit, and pins GOMAXPROCS=2 (#1116) #1119).docs/configuration.md: theproxy.resourcesandproxy.concurrencyrows link to the new section.docs/workload-requirements.mddoes not discuss resource requests, so it is unchanged.Checked:
make formatandbazel build --config=lint --@aspect_rules_lint//lint:fail_on_violation //....Refs #1093
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr