-
Notifications
You must be signed in to change notification settings - Fork 100
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
Remove min/maxAllowed #1070
Remove min/maxAllowed #1070
Conversation
resourcePolicy: | ||
containerPolicies: | ||
- containerName: '*' | ||
minAllowed: | ||
memory: {{ required ".Values.global.vpa.resourcePolicy.minAllowed.memory is required" .Values.global.vpa.resourcePolicy.minAllowed.memory }} | ||
controlledValues: RequestsOnly |
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.
Empty sets are falsy. I am not sure what the actual desired outcome is (@kon-angelo) but with this we get the blanket policy when we configure anything in Values.global.vpa.resourcePolicy
and nothing otherwise.
Did not catch that on the original PR :/.
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, we probably want to remove all vpa configs from values.yaml and also remove the check {{- if .Values.global.vpa.resourcePolicy }}
in vpa.yaml.
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 agree we need to remove the conditional
# resourcePolicy: | ||
# minAllowed: | ||
# memory: 64Mi |
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.
Either remove the block or let it all be a chart value
# resourcePolicy: | ||
# minAllowed: | ||
# memory: 64Mi |
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.
same.
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
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
How to categorize this PR?
/area control-plane
/kind enhancement
/platform aws
What this PR does / why we need it:
Remove VPA (min|max)Allowed settings.
minAllowed may cause wasted resources while maxAllowed may cause under-reservation and hence noisy neighbor issues.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note: