kubernetes / ingress-nginx

Ingress-NGINX Controller for Kubernetes
https://kubernetes.github.io/ingress-nginx/
Apache License 2.0
17.23k stars 8.2k forks source link

Deprecate and remove TCP/UDP forwarding #11666

Open rikatz opened 1 month ago

rikatz commented 1 month ago

Ingress API was originally built to allow routing of HTTP (L7) traffic. Due the time, some additional features, like supporting TCP and UDP forwarding has been added.

The maintenance of these APIs became a burden to migrate to NJS, and created a bunch of different issues on ingress-nginx. Officially, the way to route TCP/UDP traffic on a Kubernetes cluster should be made on 2 different ways:

As part of the GatewayAPI evolution, I would like to deprecate and remove TCP and UDP forwarding from current ingress-nginx as part of the next minor release and focus the current ingress-nginx implementation on L7/HTTP routing.

/kind deprecation

k8s-ci-robot commented 1 month ago

This issue is currently awaiting triage.

If Ingress contributors determines this is a relevant issue, they will accept it by applying the triage/accepted label and provide further guidance.

The triage/accepted label can be added by org members by writing /triage accepted in a comment.

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes-sigs/prow](https://github.com/kubernetes-sigs/prow/issues/new?title=Prow%20issue:) repository.
aojea commented 1 month ago

/cc @aojea @robscott

tao12345666333 commented 1 month ago

We do encounter a lot of TCP/UDP related questions in our issues list and user channel.

https://github.com/kubernetes/ingress-nginx/issues?page=2&q=is%3Aissue+is%3Aopen+tcp

rikatz commented 1 month ago

Yes, but it doesn't mean we should be supporting it :)

github-actions[bot] commented 2 weeks ago

This is stale, but we won't close it automatically, just bare in mind the maintainers may be busy with other tasks and will reach your issue ASAP. If you have any question or request to prioritize this, please reach #ingress-nginx-dev on Kubernetes Slack.