Repository navigation
fix(mesh-dns): readiness probe timeout + CPU headroom (unblock surge rollout) - #581
Merged
Merged
Conversation
The mesh-dns readiness probe re-execs the full /agent binary (distroless image, no shell), whose cold start under the daemon's 50m CPU request/100m limit exceeds the 1s default probe timeout — so the surge pod never reported Ready and maxUnavailable:0 wedged the rollout (found on talos e2e: probe "command timed out after 1s" x136, pod stuck 0/1 though bound + serving). Bump the probe to timeout 5s / period 5s / failureThreshold 3, and give the daemon CPU burst (limit 100m→300m) + memory (64Mi→128Mi) headroom for the transient second /agent process the exec spawns. Marker semantics unchanged. Follows #578/#579/#580. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR
This was referenced Jul 24, 2026
bpalermo
added a commit
that referenced
this pull request
Jul 25, 2026
Both suites assert on a MESH DNS NAME (echo.<ns>.<mesh-domain>) but gated readiness only on ds/aether-agent. Before #578 that was sufficient, because the agent WAS the resolver; after the decoupling it no longer implies DNS is serving, so the harness raced a cold aether-mesh-dns DaemonSet and failed with an unexplained curl 000. The nightly e2e has been red since 07-22. Waits for ds/aether-mesh-dns alongside the agent, and dumps mesh-dns pod state + logs when the assertion fails: a bare 000 is ambiguous between "did not route" and "did not resolve", and that ambiguity is what turned this into a bisect instead of a self-evident failure. The missing wait is not proven to be the only cause -- the daemon's readiness probe is CPU-sensitive (#581) and CI runners are constrained -- so the diagnostics are there to settle it on the next run. Refs #589. Claude-Session: https://claude.ai/code/session_01EioJVuoepwStjHoRLB52WR Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
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.
The mesh-dns daemon readiness probe (added in #580) re-execs the full
/agentbinary (distroless image, no shell), whose cold start under the daemon's 50m CPU request exceeds the 1s default probe timeout. On talos e2e the surge pod bound and wrote its ready-marker but the probe kept timing out (command timed out after 1s, x136), so it never reported Ready andmaxUnavailable:0wedged the DaemonSet rollout (old pods kept serving — no DNS outage, but the roll stalled).The
proxy-supervisoruses the same exec-marker pattern at the 1s default only because/opt/aether/supervisoris a small binary; the full agent needs headroom.Fix (chart-only)
timeoutSeconds 1→5,periodSeconds 2→5,failureThreshold 2→3,initialDelaySeconds 0→1.meshDnsDaemon.resources: CPU limit100m→300m(burst for the cold-start exec) + request50m→100m; memory64Mi→128Milimit /48Mirequest (the probe transiently spawns a second/agent).0.84.0 → 0.85.0.Marker semantics and REUSEPORT logic unchanged. Follows #578/#579/#580.