CustomResourceStateMetrics for VPA #2131
Unanswered
andreivaloshyn
asked this question in
Q&A
Replies: 1 comment
-
Seems like it works for a single container, at least I see metrics from KSM. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to create a custom metric for vertical pod autoscaler.
KSM SA role was updated with
VPA resource example:
Based on the examples here https://github.com/kubernetes/kube-state-metrics/blob/main/docs/customresourcestate-metrics.md
I created config:
I expected a metric about memory target for
config-reloader
container, instead I'm getting a lot of"kube_customresource_memorytarget" err="[status,recommendation,containerrecommendations,0,target,memory]: got nil while resolving path"
:Could somebody help me and explain what I'm doing wrong? :)
Beta Was this translation helpful? Give feedback.
All reactions