-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
KEP 1645: clarify port conflict rules #4887
Conversation
MrFreezeex
commented
Sep 30, 2024
•
edited
Loading
edited
- One-line PR description: Clarify port conflict rules based on Service port rules
- Issue link: Multi-Cluster Services API #1645
- Other comments: The existing version of the KEP doesn't state explicitly the associated Service port rules and what should be implemented is confusing here and prone to implementation errors.
148e9a9
to
2aec509
Compare
keps/sig-multicluster/1645-multi-cluster-services-api/README.md
Outdated
Show resolved
Hide resolved
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
2aec509
to
012e81d
Compare
Thanks! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MrFreezeex, skitt The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks, I think this does help clarify the expected behavior. /lgtm |
be used for multiple non-identical (`port`, `protocol`, `appProtocol`) service | ||
ports by different constituent services, the conflict resolution policy will | ||
determine which values are used by the derived service. | ||
union of service ports declared on its constituent services. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As a followup to this, it seemed like there was some debate over whether union
should actually be intersection
instead? Refs kubernetes-sigs/mcs-api#78 (comment)
As currently specified, either some intelligent endpoint selection would need to be applied based on target port if some ports are not available on some endpoints (I'm not sure if this is possible/practical), or some requests would fail non-deterministically if routed to an endpoint lacking a given service port.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not entirely sure about the pros/cons/context of this decision, guessing we can discuss it at the next meeting