-
Couldn't load subscription status.
- Fork 4.2k
Add enhancement proposal for feature request #3913 #3914
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
Add enhancement proposal for feature request #3913 #3914
Conversation
|
Welcome @wangchen615! |
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.
One concern that I did not think of before and @kgolab brought it to my attention:
What do we do with VPA objects that specify a recommender that does not exist? In the current proposal they would get no recommendations, without any way to signal that to the user. Maybe we should actually produce default recommendations for them? Can you check how this is done for the custom scheduling feature? It seems they would have the same problem.
vertical-pod-autoscaler/enhancements/3913-customized-recomender-vpa.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/3913-customized-recomender-vpa.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/3913-customized-recomender-vpa.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/3913-customized-recomender-vpa.md
Outdated
Show resolved
Hide resolved
|
@jbartosik FYI |
vertical-pod-autoscaler/enhancements/3913-customized-recomender-vpa.md
Outdated
Show resolved
Hide resolved
|
@wangchen615 , I reviewed once more. I'm fine with the latest changes - no new comments there. However my old comments still stand:
|
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.
@wangchen615 , I reviewed once more. I'm fine with the latest changes - no new comments there. However my old comments still stand:
- one is purely editorial: I think it would be useful to state how we expect the additional recommenders to be deployed
- the other was about not closing the way towards multiple recommenders. I understand you want to keep multiple recommenders but let's not close the possibility with this change. For example: what if recommenderName was not a string but an array? We could still say that for now only one recommender is supported (e.g. we don't change status) but if we ever come to multiple recommenders, the field won't need to be changed (or rather accompanied by a new one).
@kgolab , I added a section called deployment details according to your comments. https://github.com/wangchen615/autoscaler/blob/customizable_recommender_kep/vertical-pod-autoscaler/enhancements/3919-customized-recommender-vpa/README.md#deployment-details
Could you help take a final review?
vertical-pod-autoscaler/enhancements/3913-customized-recomender-vpa.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/3913-customized-recomender-vpa.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/3919-customized-recommender-vpa/README.md
Outdated
Show resolved
Hide resolved
|
[...]
Thank you, this diagram and its description clarifies a lot. |
It looks fine from my perspective. I'd still slightly prefer to make recommenderName an array already (and just use the first item for now) but since you marked similar comment as resolved, I guess your preference is to stay with a string field and solve the API change separately, if/when required. Leaving to @bskiba for final approval. |
|
/assign @bskiba |
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.
Looks good, thanks a lot.
Last comment before LGTM is that I would like to once more to consider making recommender an array (the change Karol suggested), for which we will support only first element as part of this KEP. Otherwise, we will not be able to change that field later due to backwards incompatibility.
I can support you with adding validation for now that the array contains one item only.
One more nit: can you add white background to the image? I'm viewing github in dark mode and the image text is not visible in that setting.
vertical-pod-autoscaler/enhancements/3919-customized-recommender-vpa/README.md
Outdated
Show resolved
Hide resolved
vertical-pod-autoscaler/enhancements/3919-customized-recommender-vpa/README.md
Outdated
Show resolved
Hide resolved
|
/lgtm Thanks! |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: bskiba, wangchen615 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 |
Added the enhancement proposal for the support of a customized recommender in Vertical Pod Autoscaler.
@bskiba