-
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
VPA: make parameters oomBumpUpRatio and oomMinBumpUp configurable #5275
Conversation
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.
Please mention those flags in README/Starting multiple recommenders
@jbartosik I have addressed the review comments, could you please check if it looks good now. Thank you. |
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 think this is close to ready
@jbartosik please review when you get a chance. |
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 was unavailable for a while.
Please add a release note to the description.
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.
Also please fix the presubmit error:
vertical-pod-autoscaler/README.md:298:86: "occured" is a misspelling of "occurred"
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.
A few suggestions regarding the wording for the sake of consistency and clarity.
vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/pkg/recommender/model/aggregations_config.go
Outdated
Show resolved
Hide resolved
Accepted the suggested changes and commited. Co-authored-by: Marco Voelz <[email protected]>
@jbartosik @voelzmo I committed the suggested changes for the PR. Can you please review and approve this. Thank you. |
Thanks for including the wording changes! At this point, I'm wondering if this is good to go, or if we should have some tests showing that specifying a custom value for |
@jbartosik could you please review and let me know if its ready to merge. Thank you. |
@navinjoy looks good to me. Can you rebase the PR? |
@navinjoy please squash commits and rebase the PR |
Sure will do that. I was out last 2weeks. |
Thanks, please ping me when you do |
Do you think you can squash & rebase this week? I'd like to resume working on the release next week |
@jbartosik I will do this today. Got struck with my tasks. |
@jbartosik please check if the PR is ready to merge. |
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, navinjoy 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 |
Which component this PR applies to?
vertical-pod-autoscaler/recommender
What type of PR is this?
/kind feature
What this PR does / why we need it:
This is a small change for adding the parameters for oomBumpUpRatio and oomMinBumpUp.
We have executed multiple Load tests for VPA and since VPA has to terminate the pods and new recommendations are applied during recreation of a pod and when OOM occurs during load, 20% increase is not sufficient. Therefore we want this to be configurable and for our service and tests we did we doubled the memory. Having these flags configurable will help for different types of services.
Which issue(s) this PR fixes:
No issue exists for this.
Special notes for your reviewer:
Validated the change in my local dev cluster k8s 1.25.
Does this PR introduce a user-facing change?
NA
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
NA