[go: nahoru, domu]

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

Port-forward for UDP #47862

Open
pavolloffay opened this issue Jun 21, 2017 · 74 comments
Open

Port-forward for UDP #47862

pavolloffay opened this issue Jun 21, 2017 · 74 comments
Labels
area/kubectl kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/node Categorizes an issue or PR as relevant to SIG Node. triage/accepted Indicates an issue or PR is ready to be actively worked on.

Comments

@pavolloffay
Copy link
Contributor

Kubernetes currently supports port forwarding only for TCP ports. However, Pod/service might expose UDP port too.

@k8s-github-robot
Copy link

@pavolloffay There are no sig labels on this issue. Please add a sig label by:
(1) mentioning a sig: @kubernetes/sig-<team-name>-misc
(2) specifying the label manually: /sig <label>

Note: method (1) will trigger a notification to the team. You can find the team list here and label list here

@k8s-github-robot k8s-github-robot added the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Jun 21, 2017
@pavolloffay
Copy link
Contributor Author
pavolloffay commented Jun 21, 2017

@kubernetes/sig-network @kubernetes/sig-node

@0xmichalis
Copy link
Contributor

/sig network

@k8s-ci-robot k8s-ci-robot added the sig/network Categorizes an issue or PR as relevant to SIG Network. label Jun 21, 2017
@k8s-github-robot k8s-github-robot removed the needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. label Jun 21, 2017
@cmluciano
Copy link

/assign

@pavolloffay UDP is supported in services. Are you looking for a kubectl port-forward command?

@pavolloffay
Copy link
Contributor Author

@cmluciano yes kubectl port-forward pod-name udp-port

@pavolloffay
Copy link
Contributor Author

@cmluciano do you have any news on this? Is it in the roadmap or I was doing something wrong?

@cmluciano
Copy link
cmluciano commented Jun 28, 2017

@kubernetes/sig-apps-feature-requests

/remove-sig network

@k8s-ci-robot k8s-ci-robot added sig/apps Categorizes an issue or PR as relevant to SIG Apps. kind/feature Categorizes issue or PR as related to a new feature. and removed sig/network Categorizes an issue or PR as relevant to SIG Network. labels Jun 28, 2017
@cmluciano
Copy link

/area kubectl

@0xmichalis
Copy link
Contributor

@cmluciano why is this labeled for sig-apps? I thought port-forwarding is under the purview of network and node sigs, and the fact that there are kubectl changes that need to be made may include cli?

/remove-sig apps
/sig cli

@k8s-ci-robot k8s-ci-robot added sig/cli Categorizes an issue or PR as relevant to SIG CLI. and removed sig/apps Categorizes an issue or PR as relevant to SIG Apps. labels Jun 28, 2017
@cmluciano
Copy link

That is true @Kargakis . I keep forgetting that sig/cli is a thing.

@cmluciano cmluciano removed their assignment Jul 6, 2017
@cmluciano
Copy link

cc @kubernetes/sig-cli-feature-requests

@shiywang
Copy link
Contributor
shiywang commented Jul 7, 2017

/assign
I will take a look.

@pavolloffay
Copy link
Contributor Author

Is there any progress on this? cc @shiywang

@shiywang
Copy link
Contributor
shiywang commented Aug 1, 2017

@pavolloffay working on it right now

@resouer resouer added the sig/node Categorizes an issue or PR as relevant to SIG Node. label Aug 1, 2017
@resouer
Copy link
Contributor
resouer commented Aug 1, 2017

cc @freehan you may be interested.

@ahmetb
Copy link
Member
ahmetb commented Nov 10, 2017

Any updates @pavolloffay ? I just needed this as well.

@swatisehgal
Copy link
Contributor

/triage accepted
/priority important-longterm

@k8s-ci-robot k8s-ci-robot added triage/accepted Indicates an issue or PR is ready to be actively worked on. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. labels Jun 24, 2021
@knight42
Copy link
Member
knight42 commented Dec 3, 2021

Hi all! I have created a kubectl plugin krelay to support forwarding UDP port, you could install it by krew: kubectl krew install relay. In addition krelay could forward data to a IP or hostname as well.

Please feel free to give it a try. I am looking forward to your feedback!

@ivandir
Copy link
ivandir commented Mar 18, 2022

Also can't wait for this to be implemented. Any updates on the progress being made?

@malikdraz
Copy link

Do we have any update on this?

@whybazinga
Copy link

+1

1 similar comment
@Safrudin244342
Copy link

+1

@GuillaumeDerivery
Copy link

Hi everyone,
Is there any plan to add UDP support to port forwarding ?

Thanks.

@acceleratxr
Copy link

+1

2 similar comments
@odinsy
Copy link
odinsy commented Dec 19, 2022

+1

@dasgoll
Copy link
dasgoll commented Feb 23, 2023

+1

@liberodark
Copy link
liberodark commented Jul 3, 2023

Hi,

I hope we found a workaround for fix that.

Best Regards

@seans3
Copy link
Contributor
seans3 commented Oct 25, 2023

/assign

@hcavarsan
Copy link
hcavarsan commented Jan 8, 2024

hi all,

although kubernetes does not currently have native support for this feature, I have created this project to connect to services using UDP and manage multiple services through a Tray application. The project is open source : kftray

i hope that in the future, Kubernetes API will address this issue, eliminating the need for a relay server to handle UDP traffic redirection.

@santiago-mooser
Copy link
santiago-mooser commented Feb 7, 2024

Hey @seans3 I know this has been in the backlog for quite some time, but is there any plan to implement this in the coming few months?

It would be a really valuable feature to have natively

@jvilhuber
Copy link
jvilhuber commented Mar 11, 2024

Note that Http3 is based on Quic which is (on top of) UDP. Testing quic services requires port-forwarding UDP.

@jrcasso
Copy link
jrcasso commented Mar 22, 2024

Hey @seans3! I see that this was assigned to you; would you be able to provide any meaningful updates on an expected timeline? For a seven-year issue on something so fundamental to OSI layer 3, I feel that the community deserves a bit more communication on this - if the number of +1 comments attempting to revive the issue are any indication. Additionally, @jvilhuber's comment necessitates additional reconsiderations towards urgency, especially given this long-lived context.

To the point I raised nearly four years ago: some protocols leverage UDP by default, and others leverage UDP exclusively. The spread of k8s usage in these use-cases is hindered, if not completely absent, and out-of-band solutions have since been developed as a result. It's "okay" that there are alternative solutions, but something so crucial to such a pervasive networking orchestration solution as kubernetes would be expected by many to exist by default.

I hope I'm not talking to thin air, but we could really use an internal champion for this effort.

@tedaford
Copy link

I agree with the above. This has been a long-standing fundamental issue with Kubernetes. It's something like having an automobile that simply will not drive on asphalt paved roads, only concrete.
I understand that UDP is pretty annoying to deal with on a low level, but I feel the use cases for UDP in k8s are so wide-ranging that it warrants some attention to say the least.

@xetra11
Copy link
xetra11 commented May 20, 2024

Please do this!

@Mikycid
Copy link
Mikycid commented May 21, 2024

I need this feature

@thockin
Copy link
Member
thockin commented May 21, 2024

Like so many other issues - help is welcome. We have orders of magnitude more things that people "need" than we have capacity to deliver them. If you are too busy to help, then please consider that other people, such as the wonderful @seans3, might also be busy with urgent things.

GitHub added emojis so that you can express your "me too" without sending a notification out to hundreds of people's mailboxes. Please use those.

@dims dims unassigned shiywang and seans3 May 21, 2024
@dims
Copy link
Member
dims commented May 21, 2024

I've cleared all the assignee(s) for now until we have some volunteers who can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubectl kind/feature Categorizes issue or PR as related to a new feature. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/cli Categorizes an issue or PR as relevant to SIG CLI. sig/node Categorizes an issue or PR as relevant to SIG Node. triage/accepted Indicates an issue or PR is ready to be actively worked on.
Projects
Status: Backlog
Development

No branches or pull requests