Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UDP in Railgun #925

Closed
rainest opened this issue Oct 27, 2020 · 7 comments · Fixed by #1057
Closed

UDP in Railgun #925

rainest opened this issue Oct 27, 2020 · 7 comments · Fixed by #1057

Comments

@rainest
Copy link
Contributor

rainest commented Oct 27, 2020

Kong 2.2 introduces support for UDP routes.

From a KIC implementation standpoint, TCPIngress has fields similar to what UDP routes will require, i.e. a hostname (handled via TLS SNI) and a port.

The user interface is an open question. Service APIs propose HTTPRoute and TCPRoute resoruces. In our current model, we could introduce a new UDPIngress CRD or augment TCPIngress to support protocols other than TCP, despite the name.

Upstream TLS is an open question. On the Kong end, there are tls, tcp, and udp services, and all are implemented via NGINX streams: Kong/kong@967043e

@rainest rainest added area/feature New feature or request area/spike labels Oct 27, 2020
@mflendrich
Copy link
Contributor

TBD: whether the scope of this issue is only plain UDP (without DTLS) or UDP with DTLS support (DTLS offloading, SNI, etc.).

TBD: whether kubernetes (kube-proxy, networking) works nicely with UDP (including ICMP Port Unreachable, etc.)

@mflendrich mflendrich changed the title Add support for Kong UDP routes and services Spike: Add support for Kong UDP routes and services Oct 28, 2020
@mflendrich mflendrich changed the title Spike: Add support for Kong UDP routes and services Add support for Kong UDP routes and services Oct 28, 2020
@mflendrich mflendrich added the help wanted Extra attention is needed label Dec 11, 2020
@mflendrich mflendrich removed the help wanted Extra attention is needed label Jan 15, 2021
@mflendrich
Copy link
Contributor

mflendrich commented Jan 15, 2021

We need to figure out whether to implement this on top of service-apis or existing KIC APIs. Hence removal of "help wanted".

@mflendrich
Copy link
Contributor

mflendrich commented Jan 21, 2021

Blocked by #1010 which will give us an answer whether to implement this on top of service-apis or not.

Edit: yes

@mflendrich
Copy link
Contributor

Blocked by #1043 - we need to understand whether this should go to KIC 2.0 or 1.x or both

@shaneutt
Copy link
Contributor

shaneutt commented Feb 23, 2021

I took a first pass at UDPIngress this in this branch and wanted to share for posterity (but we still do need to complete #1043 before we can move forward).

@mflendrich mflendrich changed the title Add support for Kong UDP routes and services UDP in Railgun Feb 26, 2021
@shaneutt shaneutt self-assigned this Feb 26, 2021
@shaneutt
Copy link
Contributor

We're going to follow up on my previous branch work and spike a v1alpha1.UDPIngress in railgun.

@shaneutt
Copy link
Contributor

Merged in v1alpha1 and continued work on the UDPIngress API is covered by follow-up issues in the UDPIngress milestone.

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

Successfully merging a pull request may close this issue.

3 participants