You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# vpa-values.yamlrecommender:
# recommender.enabled -- If true, the vpa recommender component will be installed.enabled: true# recommender.extraArgs -- A set of key-value flags to be passed to the recommenderextraArgs:
v: "4"humanize-memory: true # starting from 1.3.0pod-recommendation-min-cpu-millicores: 10pod-recommendation-min-memory-mb: 50target-cpu-percentile: 0.50target-memory-percentile: 0.50replicaCount: 1
Without "humanize-memory: true", I get this result
$ k get vpa -A -w
NAMESPACE NAME MODE CPU MEM PROVIDED AGE
kube-system vpa-admission-controller Auto 11m 52428800 True 158d
kube-system vpa-recommender Auto 11m 63544758 True 158d
kube-system vpa-updater Auto 11m 78221997 True 158d
logging fluent-bit-service Initial 126m 225384266 True 3d2h
monitoring grafana Auto 11m 93633096 True 146d
With "humanize-memory: true", I get a result where 50Mi looks good but the others not.
$ k get vpa -A -w
NAMESPACE NAME MODE CPU MEM PROVIDED AGE
kube-system vpa-admission-controller Auto 11m 50Mi True 158d
kube-system vpa-recommender Auto 11m 63543705600m True 158d
kube-system vpa-updater Auto 11m 93637836800m True 158d
logging fluent-bit-service Initial 126m 272063528960m True 3d2h
monitoring grafana Auto 11m 93637836800m True 146d
kyleli666
changed the title
With humanize-memory some MEM recommendation use "milibyte" unit
With humanize-memory some MEM recommendation use "millibyte" unit
Jan 26, 2025
I was debugging this. I've made a failing test to assist with fixing it: #7771
At the moment my best guess is that this line is returning it to a non-humanised version:
Which component are you using?:
/area vertical-pod-autoscaler
What version of the component are you using?:
Component version: Image tag 1.3.0
What k8s version are you using (
kubectl version
)?:kubectl version
OutputWhat environment is this in?:
EKS
What did you expect to happen?:
Memory recommendation in unit "Mi"
What happened instead?:
Memory recommendation in unit "m"
How to reproduce it (as minimally and precisely as possible):
my vpa is installed with
Without "humanize-memory: true", I get this result
With "humanize-memory: true", I get a result where 50Mi looks good but the others not.
My VPA Objects for the VPA components.
Anything else we need to know?:
my logs recommender.log
The text was updated successfully, but these errors were encountered: