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

KEP 1645: clarify port conflict rules #4887

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

MrFreezeex
Copy link
Member

@MrFreezeex MrFreezeex commented Sep 30, 2024

  • One-line PR description: Clarify port conflict rules based on Service port rules
  • 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.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 30, 2024
@k8s-ci-robot k8s-ci-robot added kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/multicluster Categorizes an issue or PR as relevant to SIG Multicluster. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Sep 30, 2024
@MrFreezeex MrFreezeex force-pushed the kep1645-port-rules branch 2 times, most recently from 148e9a9 to 2aec509 Compare September 30, 2024 19:19
Signed-off-by: Arthur Outhenin-Chalandre <arthur@cri.epita.fr>
@thockin
Copy link
Member

thockin commented Sep 30, 2024

@lauralorenz @bowei

@skitt
Copy link
Member

skitt commented Oct 1, 2024

Thanks!

/approve

@k8s-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 1, 2024
@mikemorris
Copy link
Member

Thanks, I think this does help clarify the expected behavior.

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Dec 11, 2024
@k8s-ci-robot k8s-ci-robot merged commit 178cf35 into kubernetes:master Dec 11, 2024
3 of 4 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.32 milestone Dec 11, 2024
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.
Copy link
Member

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.

Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/multicluster Categorizes an issue or PR as relevant to SIG Multicluster. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants