Repository navigation
test(e2e): l4routes UDP leg dials 18082 and asserts per-VIP selection (038 PR 4) - #948
Merged
Merged
Conversation
… (038 PR 4) The UDP leg dials ProxyL4OutboundPort (18082) -- the L4 mesh spelling plaintext UDP now shares with raw TCP -- instead of 18081, and gains a SECOND UDPRoute parent (l4udp-front2 -> l4udp-c) beside the first so T3.3 can assert what the transparent capture in #947 made possible: one listener, one udp_proxy matcher arm per dialled ClusterIP. T3.0 and T3.2 cover both VIPs. The header comment, dump_state selectors and the T3.1 failure text describe the divert rather than the REDIRECT it replaced. Three runs on kind, each labelled for what it can and cannot show: * OLD build (pre-#947 images), new script: TCP and TLS legs green (the regression net for TCP-under-TPROXY), T3.0 green, T3.1 RED with NOREPLY=10 -- red because 18082/udp is uncaptured by the REDIRECT CNI, NOT because the second service is dropped. * NEW build: green end to end -- T3.1 40/40 alpha, T3.3 20/20 to front by l4udp-a AND 20/20 to front2 by l4udp-c, T3.2 20/20 unanswered again. * NEW build with ONE arm removed in the agent (selectUDPCaptureArms keeps the first service only): T3.3 RED -- "l4udp-front2 was never answered by l4udp-c: NOREPLY=10 ... the pre-038 shape". The selection assertion can fail on its own, not only via an uncaptured port. Docs: getting-started (UDPRoute dials :18082; the one-service-per-pod limit is gone, the split limit stays), workload-requirements (the L4 spelling table gains the UDP row; ":18082 does not require redirect-all" now says both transports and that UDP has no any-port capture), configuration (exclude-outbound-ports covers TCP+UDP). Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr
bpalermo
added a commit
that referenced
this pull request
Sep 26, 2026
…UDP leg (#949) 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. Claude-Session: https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr Co-authored-by: Claude Fable 5.1 <[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.
PR 4 of the TPROXY plan (after #947). Nightly-only suite (
e2e.yaml→l4-routes), so per-PR CI is not affected; the runs below are the evidence.What
e2e/l4routes.sh: the UDP leg dials 18082 (ProxyL4OutboundPort, the L4 spelling plaintext UDP now shares with raw TCP) instead of 18081; a second UDPRoute parentl4udp-front2 → l4udp-cbesidel4udp-front → l4udp-a; new T3.3 selection assertion (20 datagrams per VIP, exhaustive, each answered by its own backend); T3.0 and T3.2 cover both VIPs; header/dump_state/failure text describe the divert, not the REDIRECT.getting-started(UDPRoute dials:18082; the one-UDPRoute-service-per-pod limit is gone, the split limit stays — UDPRoute ignores backend weights and collapses multiple services onto one cluster #873),workload-requirements(UDP row in the L4 spelling table;:18082scoped capture is both transports, UDP has no any-port capture),configuration(exclude-outbound-portscovers TCP+UDP).Three runs on kind — labelled for what each can show
NOREPLY=10front→l4udp-aand 20/20front2→l4udp-c; T3.2 20/20 unansweredselectUDPCaptureArmskeeps the first service only)l4udp-front2was never answered byl4udp-c: NOREPLY=10 … the pre-038 shape"The TCP and TLS legs stayed green on every run — the regression net for TCP-under-TPROXY (#947 moved TCP capture to the divert too).
🤖 Generated with Claude Code
https://claude.ai/code/session_01NArCRTfMPZkw4Y97U9Gdsr