-
Notifications
You must be signed in to change notification settings - Fork 504
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
Make listener port optional #1061
Comments
Quoting #818
|
#1066 adds docs for implementors about the possibility of required fields become optional in future:
|
Gateway resource consists of two parts:
Of these, most/all use-cases consider (2) to be the source of truth and a Gateway should lead and not follow. (1) is more complicated. There are two class large classes of use-cases
I don't propose a solution here. I want to express my understanding and validate it with how others are thinking about it. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There are multiple cases where it may make sense to not require a gateway owner to specify a listener port:
protocol==HTTP
default to port 80 if unspecifiedbind()
with the port specified as 0One proposal is to specify that an unspecified port should be defined to have per-protocol semantics - so e.g. we'd define defaults for HTTP and HTTPS, but TLS, TCP, and UDP would be auto-allocated a random port. Implementation-specific protocols would define their own default behaviors.
Another alternative would be to use
port==0
for auto-allocating a random port, and only have defaults for protocols where one makes sense.See also #1060, #818, and Gateway API: Multi Port Approach
The text was updated successfully, but these errors were encountered: