-
Notifications
You must be signed in to change notification settings - Fork 4.1k
AEP-8026: per-vpa-component-configuration #8026
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Omer Aplatony <[email protected]>
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
Signed-off-by: Omer Aplatony <[email protected]>
Signed-off-by: Omer Aplatony <[email protected]>
/assign @raywainman |
Signed-off-by: Omer Aplatony <[email protected]>
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
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 really like this @omerap12, thanks for putting this together!
- oomBumpUpRatio | ||
- oomMinBumpUp | ||
- memoryAggregationInterval | ||
- evictAfterOOMThreshold |
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.
small nit but I would love to be consistent with the camel-casing of OOM
here to match the others, maybe we say evictAfterOomThreshold
?
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.
Fixed in: a10a0e3
* recommendationMarginFraction | ||
* Other parameters that benefit from workload-specific tuning | ||
|
||
### Validation via CEL |
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.
Will we still do some basic validating in the code?
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.
Yeah, e2e tests will be included: 5b89607
## Future Work | ||
|
||
This enhancement is designed to be extensible. As the VPA evolves and users provide feedback, additional parameters may be added to the per-object configuration. Each new parameter will: | ||
1. Be documented in this AEP |
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.
Big +1 here, if we can keep all of these in the same AEP then I think it becomes a lot easier and more streamlined to add parameters.
One thing that would be nice though is to add a small section for each new parameter we are proposing to add outlining what the parameter does.
What do you think?
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.
Agree. What do you think about that? 978208e
Signed-off-by: Omer Aplatony <[email protected]>
Signed-off-by: Omer Aplatony <[email protected]>
Signed-off-by: Omer Aplatony <[email protected]>
Do these API changes need to be feature-gated and go through the process of:
I don't think the VPA project really promises a downgrade path, but Kubernetes does. If we use what Kubernetes has defined, then we may need to do this. |
I thought you are on vacation! |
I'm easing back into open source over the next week or so, and playing catch up.
I think it depends on what our promise is to the user. If we promise the ability to downgrade by 1 version, then we need to do the feature-gating In the past it seems as though we loosely adopt what Kubernetes promises (ability to downgrade), but that doesn't seem to be a formal decision. |
What does downgrade means in this context? cause you are just adding fields.. |
Something like this is what I'm thinking:
Their previously-set VPA setting (oomBumpUpRatio, for example) no longer works. It's not a big deal, but it's how Kubernetes rolls out new features. |
I understand. Right now, if someone updates the VPA and sets a different |
Yeah, the downgrade isn't a big problem with this change. I think the VPA is a lower risk than Kubernetes, so we could get away not worrying about a downgrade, but, someone may expect the same from the VPA as they do from Kubernetes. So I'm on the fence with this one. |
What type of PR is this?
/kind documentation
/kind feature
/kind api-change
What this PR does / why we need it:
AEP for #7650