Skip to content
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

[operator] allow setting custom recommender name #1223

Closed
wants to merge 1 commit into from

Conversation

t3mi
Copy link

@t3mi t3mi commented Jun 12, 2024

It's possible for multiple recommenders with different configurations to be present in single cluster. This change allows VPA configuration to be updated by custom recommender if one was set, otherwise - default recommender is used.

Signed-off-by: t3mi <t3mi@users.noreply.github.com>
@t3mi t3mi requested a review from Allex1 as a code owner June 12, 2024 20:31
@t3mi t3mi requested a review from a team June 12, 2024 20:31
"additionalProperties": false
},
"examples": [
[]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you add an example for this?

Comment on lines +144 to +148
# Recommender responsible for generating recommendation for the object.
# List should be empty (then the default recommender will generate the recommendation)
# or contain exactly one recommender.
# recommenders:
# - name: custom-recommender-performance
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Given the VPA's recommenders list can only have a single item does it make sense for us to expose this field as a list instead of just a string to set? i.e. if len(recommender.name) > 0 set it, otherwise don't?

Copy link

github-actions bot commented Jul 6, 2024

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jul 6, 2024
Copy link

Closed as inactive. Feel free to reopen if this PR is still being worked on.

@github-actions github-actions bot closed this Jul 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants