Skip to content

Add UDPRoute to VirtualService#3698

Open
kirgene wants to merge 1 commit into
istio:masterfrom
kirgene:feature/virtualservice-udp
Open

Add UDPRoute to VirtualService#3698
kirgene wants to merge 1 commit into
istio:masterfrom
kirgene:feature/virtualservice-udp

Conversation

@kirgene

@kirgene kirgene commented Apr 25, 2026

Copy link
Copy Markdown
Contributor

Adds a udp field on VirtualService and a UDPRoute message for L4 UDP routing. Mirrors the existing TCPRoute structure.

Used by istio/istio#59664 to carry Gateway API UDPRoute translations alongside HTTP, TCP, and TLS routes.

@kirgene kirgene requested a review from a team as a code owner April 25, 2026 00:17
@istio-policy-bot

Copy link
Copy Markdown

😊 Welcome @kirgene! This is either your first contribution to the Istio api repo, or it's been
a while since you've been here.

You can learn more about the Istio working groups, Code of Conduct, and contribution guidelines
by referring to Contributing to Istio.

Thanks for contributing!

Courtesy of your friendly welcome wagon.

@istio-testing istio-testing added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. needs-ok-to-test labels Apr 25, 2026
@istio-testing

Copy link
Copy Markdown
Collaborator

Hi @kirgene. Thanks for your PR.

I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Tip

We noticed you've done this a few times! Consider joining the org to skip this step and gain /lgtm and other bot rights. We recommend asking approvers on your previous PRs to sponsor you.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@keithmattix

Copy link
Copy Markdown
Contributor

This is a big step; Istio has never supported UDP service-to-service. We'd need a design doc to even begin to understand how this feature would work

Add a Udp field on VirtualService and a UDPRoute message describing
L4 routing for UDP traffic. Mirrors the existing TCPRoute structure.
This is the natural place for Gateway API UDPRoute translations to live
on the Istio side.
@kirgene kirgene force-pushed the feature/virtualservice-udp branch from 533263b to 456f715 Compare June 7, 2026 11:34
kirgene added a commit to kirgene/istio that referenced this pull request Jun 7, 2026
Add UDPRoute support to the kube-gateway controller. Per the Gateway API
spec, one UDPRoute can attach to a listener, with port-based routing to
a single upstream cluster.

UDPRouteCollection produces VirtualServices using the new Udp field
(istio/api#3698). The gateway listener builder emits UDP socket
listeners with envoy.filters.udp_listener.udp_proxy pointing at the
resolved upstream cluster.
@kirgene

kirgene commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

@keithmattix I wrote up the design doc: RFC: Gateway API UDPRoute Support (in the Networking WG folder). It scopes UDP to gateway ingress only, no service-to-service. Worth noting Gateway API is promoting UDPRoute to v1 in the upcoming 1.6 release (kubernetes-sigs/gateway-api#4843).

@keithmattix

keithmattix commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

@kirgene Thank you! I added the doc to the agenda for our weekly working group meeting

@kirgene

kirgene commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

@keithmattix thanks for adding it! I'd like to present it myself and answer questions live, but I have a conflict this Wednesday. Could it be slotted for an upcoming meeting I can attend? Happy to be flexible on which week.

@keithmattix

Copy link
Copy Markdown
Contributor

@kirgene Of course, we can bump it to the next week

@kirgene

kirgene commented Jun 7, 2026

Copy link
Copy Markdown
Contributor Author

@keithmattix perfect, thank you.

@hzxuzhonghu

Copy link
Copy Markdown
Member

some inputs istio/istio#1430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ok-to-test size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants