-
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: Add automated flag generator for all components #7599
Conversation
Skipping CI for Draft Pull Request. |
58cb294
to
abaf8ea
Compare
Signed-off-by: Omer Aplatony <[email protected]>
63258b6
to
68132b0
Compare
This is super cool, thank you! I have some thoughts:
|
.PHONY: admission-flags | ||
admission-flags: |
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.
.PHONY: admission-flags | |
admission-flags: | |
.PHONY: document-flags | |
document-flags: |
Would it make sense to make the name of the Makefile job the same across all components?
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 it does! lol I feel dumb
|
Yeah, I was thinking of a bash script that would do something like:
|
exactly what I'm doing now :) |
Signed-off-by: Omer Aplatony <[email protected]>
@adrianmoisey, you can now run the script with: |
Signed-off-by: Omer Aplatony <[email protected]>
Yup, I think so. |
Signed-off-by: Omer Aplatony <[email protected]>
Co-authored-by: Adrian Moisey <[email protected]>
Signed-off-by: Omer Aplatony <[email protected]>
Co-authored-by: Adrian Moisey <[email protected]>
Signed-off-by: Omer Aplatony <[email protected]>
/lgtm This is awesome, thanks! |
Thanks a lot for this! /lgtm /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: omerap12, raywainman 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 feature
What this PR does / why we need it:
Adds an automated script to generate VPA flags.Integrated into the current Makefile such as:
Which issue(s) this PR fixes:
Fixes #7589
Special notes for your reviewer:
Since this is a Go environment, I preferred using Go instead of Bash, Python, or other scripting languages.
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: