Skip to content

Conversation

nirrozenbaum
Copy link
Contributor

This PR fixes a bug in max-score-picker, whenever there is a tie of multiple pods with the same score, max score picker was always picking the same pod.
after this fix, tie break is random selection.

fix #1204

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 22, 2025
Copy link

netlify bot commented Jul 22, 2025

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit be0fe4f
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/687f517b7082c60008863955
😎 Deploy Preview https://deploy-preview-1205--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nirrozenbaum

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 requested review from ahg-g and liu-cong July 22, 2025 08:53
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 22, 2025
@nirrozenbaum
Copy link
Contributor Author

cc: @robertgshaw2-redhat

@ahg-g
Copy link
Contributor

ahg-g commented Jul 22, 2025

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 22, 2025
@k8s-ci-robot k8s-ci-robot merged commit 72db6f6 into kubernetes-sigs:main Jul 22, 2025
9 checks passed
@kfswain kfswain mentioned this pull request Jul 22, 2025
@nirrozenbaum nirrozenbaum deleted the picker-tie-break branch July 22, 2025 18:05
kfswain pushed a commit that referenced this pull request Jul 22, 2025
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. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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.

default routing to same pod in case of tie when random picker is not explicitly set
3 participants