Repository navigation
fix(capture): on-demand catch-all + default mesh-DNS/capture on - #288
Merged
Merged
Conversation
The 6h soak surfaced a stuck-404: a service whose pods all leave a node drops from that node's dependency set, its scoped cap_http vhost vanishes, and the capture route table 404'd it with no recovery — while the OUTBOUND listener recovers the same case via its on-demand catch-all (ODCDS). Capture was asymmetric. - capture: BuildCaptureRouteConfiguration now appends the SAME buildOnDemandCatchAllVirtualHost the outbound listener uses (was captureNotFoundVirtualHost, a dead 404). A captured request for a cold/off-node mesh authority (<svc>.<meshDomain>) resolves via ODCDS instead of stuck-404; non-mesh authorities still 404. Symmetric with outbound. - mesh DNS: default the forward upstream to the agent's own /etc/resolv.conf (kube-dns via ClusterFirstWithHostNet) when --mesh-dns-upstream is unset, so mesh DNS needs no per-cluster config to enable. - defaults flipped ON (validated hitless over the 6h churn soak): registrar.generateMeshServices, agent.transparentCapture, agent.meshDns, controller.injectPodNdots. gamma stays off (separate L7 feature). Chart 0.31.0 -> 0.32.0. Validate on talos: roll a service so its pods leave the client's node, confirm <svc>.aether.internal recovers (no stuck 404); fresh-install defaults give the full mesh-DNS + capture path working. Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01N7oY7W8oDXrqDzFgoZh25S
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 6h soak surfaced a stuck-404: a service whose pods all leave a node drops from that node's dependency set, its scoped
cap_httpvhost vanishes, and the capture route table 404'd it with no recovery — while the outbound listener recovers the same case via its on-demand catch-all (ODCDS). Capture was asymmetric.What
BuildCaptureRouteConfigurationnow appends the samebuildOnDemandCatchAllVirtualHostthe outbound listener uses (wascaptureNotFoundVirtualHost, a dead 404). A captured request for a cold/off-node mesh authority resolves via ODCDS instead of stuck-404; non-mesh authorities still 404./etc/resolv.conf(kube-dns via ClusterFirstWithHostNet) when--mesh-dns-upstreamis unset — no per-cluster config to enable.registrar.generateMeshServices,agent.transparentCapture,agent.meshDns,controller.injectPodNdots.gammastays off.0.31.0 → 0.32.0.Validate on talos
Roll a service so its pods leave the client's node →
<svc>.aether.internalrecovers (no stuck 404); defaults give the full mesh-DNS+capture path working.