Skip to content

fix(capture): on-demand catch-all + default mesh-DNS/capture on - #288

Merged
bpalermo merged 1 commit into
mainfrom
feat/capture-ondemand-and-defaults
Jun 24, 2026
Merged

bpalermo merged 1 commit into
mainfrom
feat/capture-ondemand-and-defaults

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

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.

What

  • capture fix: 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 resolves via ODCDS instead of stuck-404; non-mesh authorities still 404.
  • mesh-DNS upstream auto-default: falls back to the agent's own /etc/resolv.conf (kube-dns via ClusterFirstWithHostNet) when --mesh-dns-upstream is unset — 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. 0.31.0 → 0.32.0.

Validate on talos

Roll a service so its pods leave the client's node → <svc>.aether.internal recovers (no stuck 404); defaults give the full mesh-DNS+capture path working.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant