Skip to content

Conversation

@rikatz
Copy link
Member

@rikatz rikatz commented Nov 27, 2025

What type of PR is this?
/kind gep

What this PR does / why we need it:
This PR updates ListenerSet per Kubecon discussions on dynamic ports and attachedListenerSets. It also adds some more context on ListenerSet needs

Which issue(s) this PR fixes:

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/gep PRs related to Gateway Enhancement Proposal(GEP) labels Nov 27, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rikatz
Once this PR has been reviewed and has the lgtm label, please assign robscott for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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 do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Nov 27, 2025
@rikatz
Copy link
Member Author

rikatz commented Nov 27, 2025

/cc @rostislavbobo @davidjumani @kflynn

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Nov 27, 2025
@rikatz
Copy link
Member Author

rikatz commented Nov 27, 2025

/hold cancel

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 27, 2025
// and the ListenerSets's ParentRefs field. A ListenerSets is successfully attached to
// a Gateway when it is selected by the ListenerSets's AllowedListeners field
// AND the ListenerSets has a valid ParentRef selecting the Gateway
// resource as a parent resource. ListenerSets status does not impact
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uh, where did this come from? This is the complete opposite of how AttachedRoutes works, and basically defeats the point of having this number at all.

As described, this is basically "count of Listeners/ListenerSets that refer to this Gateway" rather than "count of ListenerSets that have successfully attached to the Gateway". The point here is to track the Listeners that have actually attached and are relevant, I thought.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

copied from https://github.com/kubernetes-sigs/gateway-api/pull/4211/files#diff-ee03705ab2f4db05970992010d4f3758234b656395afe6318561337d49a2cf8cR1002

I was just making sure the GEP would reflect the API, but maybe this needs to be clarified on the API change first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/gep PRs related to Gateway Enhancement Proposal(GEP) release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants