Skip to content

chore(chart): 0.94.0 for TPROXY capture; soak gains the proposal-038 UDP leg - #949

Merged
bpalermo merged 2 commits into
mainfrom
feat/tproxy-pr5-chart
Sep 26, 2026
Merged

bpalermo merged 2 commits into
mainfrom
feat/tproxy-pr5-chart

Conversation

@bpalermo

Copy link
Copy Markdown
Owner

PR 5 of the TPROXY plan (after #947, alongside #948).

What

  • Chart 0.93.3 → 0.94.0. feat(038): TPROXY-style capture for TCP and UDP — CNI divert + per-VIP UDP listener on 18082 #947 is a breaking data-plane change: every managed pod's CNI now programs mark-and-divert for both transports (no REDIRECT, no mode flag), and plaintext UDP is served on 18082 by a transparent per-VIP listener. Pods created before the new CNI keep REDIRECT until recreated — TCP is dual-mode on one listener, UDP moves outright — so the deploy ends with a rollout restart of the managed test workloads.
  • e2e/soak/udp.yaml — the soak's first UDP leg: udp-echo (UDP-primary, alpine/socat RECVFROM echo, 3 replicas spread, self-parented UDPRoute) + udp-dialer DaemonSet dialling udp-echo.<ns>.aether.internal:18082 per node with a unique token per datagram (AETHER_METRIC udp_dialer={cycles,ok,fail}). The echo answers a connected nc -u from the dialled port — verified locally, non-root + read-only root — which is the one property the transparent reply path must have. README: run step, grading (dialer tallies, envoy_udp_capture_udp_* rx/tx, udp_no_healthy_backend, and aether_cni_operations_total{operation="capture_divert",result="error"} must stay 0), files.
  • 038 proposal: status note — Phases 1/2/5 superseded by the both-transports plan, shipped as test(spike): TPROXY Phase 0b — full ruleset, both transports, proven on a node #944–test(e2e): l4routes UDP leg dials 18082 and asserts per-VIP selection (038 PR 4) #948; Phases 3/4 stand.

Deploy plan (after the release workflow publishes 0.94.0)

  1. helm get values -o yaml → -f, upgrade aether on talos-main to 0.94.0 (never --reuse-values).
  2. Confirm the CNI capture_divert error counter is 0 as pods roll; kubectl rollout restart the managed workloads in aether-test (svc-1..5, echo, mixed-svc, tcp-echo, mp-dialer, k6 if present) and the prober so every pod carries the divert rules.
  3. Apply e2e/soak/udp.yaml; dialer must report fail=0 before T0.
  4. 8h soak per e2e/soak/README.md, graded on the prober SLI with the UDP leg's tallies read as a supplementary signal; node/pod CPU compared to rev238 (the divert re-runs the route lookup per packet where REDIRECT NATed once per flow).

🤖 Generated with Claude Code

https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr

bpalermo and others added 2 commits September 26, 2026 08:29
…UDP leg

Chart 0.93.3 -> 0.94.0: #947 changed what every managed pod's CNI programs
(mark-and-divert for both transports, no REDIRECT) and where plaintext UDP is
served (18082, transparent, per-VIP matcher). A breaking data-plane change
takes a minor bump; the deploy notes are in the PR.

e2e/soak/udp.yaml: the first continuous UDP client on talos-main -- `udp-echo`
(UDP-primary, socat RECVFROM echo, 3 replicas spread, a self-parented
UDPRoute) and the `udp-dialer` DaemonSet dialling
udp-echo.<ns>.aether.internal:18082 from every node with a unique token per
datagram, reporting AETHER_METRIC udp_dialer={cycles,ok,fail}. The echo answers
a CONNECTED nc client from the dialled port, verified locally as non-root with
a read-only root. README: run step, grading subsection (dialer tallies, the
udp.capture_udp_* rx/tx series, udp_no_healthy_backend, and the CNI's
capture_divert error counter that must stay at zero), files entry.

docs/proposals/038: status note recording that Phases 1, 2 and 5 were
superseded by the both-transports plan and shipped as #944-#948 with no mode
flag; Phases 3 and 4 stand.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
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