-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Implementation for KEP-4831: Control VPA eviction behavior based on scaling direction and resource #5599
Implementation for KEP-4831: Control VPA eviction behavior based on scaling direction and resource #5599
Conversation
9049e36
to
c31607c
Compare
d44239d
to
c76a13f
Compare
@jbartosik Can you please take a look? Thanks! |
@jbartosik Can you try to give this a review, please? Thanks! |
vertical-pod-autoscaler/pkg/updater/priority/scaling_direction_pod_eviction_admission.go
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/updater/priority/scaling_direction_pod_eviction_admission.go
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/updater/priority/scaling_direction_pod_eviction_admission.go
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/updater/priority/scaling_direction_pod_eviction_admission.go
Show resolved
Hide resolved
7e50e27
to
c05301d
Compare
Force-pushed an update:
|
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.
I'm not reviewing this here; I'm instead looking at version in #5176 and assuming we'll sync this to not make ny changes from there
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.
I'm reviewing this in #5176 and presume we'll not change this file in this PR
3bd99c1
to
4a5e88a
Compare
force-pushed an update:
Open points:
I can get to that next week |
4a5e88a
to
35e7fbf
Compare
Next set of updates, containing the first inline of the test setup helper functions.
|
f6aacee
to
a56a76d
Compare
Co-authored-by: Joachim <[email protected]>
Co-authored-by: Joachim <[email protected]>
Co-authored-by: Joachim <[email protected]>
Co-authored-by: Joachim <[email protected]>
7130a53
to
6380df0
Compare
@jbartosik rebased on master, please take another look. Unfortunately, the bot removes LGTM labels on new changes ;( |
@jbartosik can we merge this before the next rebase is necessary? I’m kind of afraid having to go through a lot of files again when other changes get merged 😱 |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jbartosik, voelzmo 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 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
ScalingDirectionPodEvictionAdmission
, which controls Pod admission to eviction based onEvictionRequirements
defined in a VPA's.spec.updatePolicy.evictionRequirements
ScalingDirectionPodEvictionAdmission
instead ofDefaultPodEvictionAdmission
Which issue(s) this PR fixes:
Implements #4831
API PR done in #5176
Special notes for your reviewer:
Depends on the API changes in #5176
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: