Open smndtrl opened 3 years ago
@AkihiroSuda might have some background on this?
I'm not sure, but UDP forwarder might not be stable as TCP forwarder, so it was skipped in k3s controller? cc @ibuildthecloud
@brandond Was this a part of your recent changes in rootless issues?
It looks like udp should work with both of the port drivers (child and slirp4netns), but we still need to add some additional bits to handle it properly on our side. We can keep this in the backlog as an enhancement request; if anyone is using rootless and needs UDP support a PR would be welcome.
Environmental Info: K3s Version: any
Node(s) CPU architecture, OS, and Version: any
Cluster Configuration: any
Describe the bug: rootlessports explicitly only allows TCP. Is there a special reason for it? https://github.com/k3s-io/k3s/blob/fd4d226e3debce314f1661359e077633fee8d8fb/pkg/rootlessports/controller.go#L141
Steps To Reproduce:
Expected behavior: UDP port bound to k3s-server
Actual behavior: UDP ports are ignored
Additional context / logs: