-
Notifications
You must be signed in to change notification settings - Fork 201
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
feat(helm): add support for vpa #4210
base: main
Are you sure you want to change the base?
Conversation
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'm curious: Did you see an actual need for VPA-ing the ASO pod? Do you just VPA everything in your clusters?
I'm most interested in if this is useful to you because you want VPA to scale the pod down (default requests are too high) or you want VPA to scale the pod up (default requests are too low, or limits too low).
...ice-operator/templates/autoscaling.k8s.io_v1_verticalpodautoscaler_azureserviceoperator.yaml
Outdated
Show resolved
Hide resolved
controlledResources: | ||
{{- toYaml . | nindent 8 }} | ||
{{- end }} | ||
{{- if .Values.verticalPodAutoscaler.controlledValues }} |
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.
minor: Can .Values.verticalPodAutoscaler.controlledValues
ever be unspecified in the values.yaml? It seems like probably not? Is the if
-guard here really needed then?
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, they could. Default would be RequestsAndLimits
value.
Yes as we have multiple clusters with different operator load: some teams are heavily using ASO, some - just few resources to try and in the end we need to have a cost effective solution for "middleware" without a toil for picking correct resources values per cluster/team.
We're trying to use it for most of the components if it supported in the charts.
Depends on the application - for ASO it would be beneficial to be used in both directions as it's not that critical and can tolerate a restart. |
Signed-off-by: t3mi <t3mi@users.noreply.github.com>
Sorry this has been lingering - will review it shortly! |
Synced with @theunrepentantgeek and @super-harsh on this topic and we have concerns that running VPA on ASO as it stands today may cause more harm than good. The reasoning is:
With the above said, our current stance on this PR is to hold off on merging it at least for now. We'll re-evaluate in a few weeks when I get #4215 done and possibly have more time to play around with VPA configurations. In the meantime, if you want to run VPA with ASO, do so with caution: but you should be able to do so even without Helm chart integration because all you need to do is create the |
What this PR does / why we need it:
This PR adds support the the vertical pod autoscaler so users do not have to care about the resource usage of the controller and let the vertical pod autoscaler to do its job.
How does this PR make you feel:
If applicable: