-
Notifications
You must be signed in to change notification settings - Fork 4.2k
AEP-7862: Support CPU Startup Boost in VPA #7863
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
Conversation
|
Hi @laoj2. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
/assign @raywainman cc @jpawelczak |
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
|
cc @maxcao13 who might have some good insights and thoughts here |
|
/assign @maxcao13 |
|
@raywainman: GitHub didn't allow me to assign the following users: maxcao13. Note that only kubernetes members with read permissions, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
omerap12
left a comment
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.
The CPU issue is well known (especially in Java). I’m wondering if there are programming languages with a similar problem but with memory (e.g needing a lot of memory at startup and then using less over time)
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
Memory decrease isn't supported yet: https://github.com/kubernetes/enhancements/tree/758ea034908515a934af09d03a927b24186af04c/keps/sig-node/1287-in-place-update-pod-resources#memory-limit-decreases |
Thanks for the reference! |
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/7862-cpu-startup-boost/README.md
Outdated
Show resolved
Hide resolved
|
Good work! I'm at the point where I'm happy to approve this |
|
Could we use phased implementation for the feature? I would recommend to start from CPU Boost with the startup/readiness probe as the 1st phase. Meanwhile, we could discuss in more details about memory boost as downscaling mem may result in having OOM (very disruptive in nature resulting in container restart) |
Yes, we could do that. It's probably gonna be simpler to start the implementation disregarding the
Yes, there's nothing much we can do until the in-place pod resize feature supports memory downsize: https://github.com/kubernetes/enhancements/tree/758ea034908515a934af09d03a927b24186af04c/keps/sig-node/1287-in-place-update-pod-resources#memory-limit-decreases |
|
LGTM as well /lgtm /ok-to-test |
|
@adrianmoisey I'll let you have approver honors when you are ready :) |
omerap12
left a comment
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 from me too :)
|
@laoj2: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/approve (I assume we may need tests to pass before this will merge?) |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adrianmoisey, laoj2, omerap12 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 documentation
/kind feature
What this PR does / why we need it:
Autoscaling Enhancement Proposal to add basic support for boosting CPU of workloads in VPA, leveraging in-place pod resizes.
Would love your thoughts on this feature. This can be a great addition on top of AEP-4016
#7862