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
Automated cherry pick of #94059: Track pods with required anti-affinity #94804
Automated cherry pick of #94059: Track pods with required anti-affinity #94804
Conversation
This is a performance optimization that reduces the overhead of inter-pod affinity PreFilter calculaitons. Basically eliminates that overhead when no pods in the cluster use required pod anti-affinity. This offered 20% improvement on 5k clusters for preferred anti-affinity benchmarks.
/release-note-none |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahg-g 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 |
@kubernetes/release-managers |
/assign @alculquicondor |
/kind bug /lgtm |
/priority important-soon |
@hasheddan Daniel do you mind taking a look? |
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.
Sorry for the delay here @ahg-g!
/lgtm
Cherry pick of #94059 on release-1.19.
#94059: Track pods with required anti-affinity
This is fixes a performance regression in the cluster autoscaler which started to execute PreFilter explicitly since 1.18.