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

Better clarify when Listeners are distinct #3297

Open
dawid-nowak opened this issue Aug 27, 2024 · 2 comments
Open

Better clarify when Listeners are distinct #3297

dawid-nowak opened this issue Aug 27, 2024 · 2 comments
Assignees
Labels
kind/documentation Categorizes issue or PR as related to documentation.
Milestone

Comments

@dawid-nowak
Copy link

What would you like to be added:
Stronger clarification is needed what should happen when two listners are configured as follows:

apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  name: some-gateway
spec:
  gatewayClassName: some-proxy
  listeners:
  - name: http-1080
    protocol: HTTP
    port: 1080
  - name: tcp-1890
    protocol: TCP
    port: 1080

Why this is needed:
In the above sample the listeners are distinct as per current documentation. The problem is that it is not clear what should applicaton do in such scenario when both HTTPRoute and TCPRoute are attached. Evaluate TCPRoute and skip HTTPRoute or only evaluate HTTPRoute.

@dawid-nowak dawid-nowak added the kind/documentation Categorizes issue or PR as related to documentation. label Aug 27, 2024
@youngnick youngnick self-assigned this Sep 13, 2024
@youngnick
Copy link
Contributor

I'm going to write up some changes to the language around "distinct" once we've got v1.2 out in the next week or two, assigning to myself so I can come back and ensure this is included.

@dawid-nowak
Copy link
Author

Cheers, let me know if i can be of help. To be honest life would be much simpler if those listeners (tcp/http) didn't overlap.

@shaneutt shaneutt added this to the v1.3.0 milestone Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation.
Projects
Status: In Progress
Development

No branches or pull requests

3 participants