trying to expose kube_pod_resource_request metric thanks to kube-scheduler. #10070
Unanswered
lretrain91
asked this question in
Q&A
Replies: 1 comment
-
Hello, |
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'am trying to expose the following metric : "kube_pod_resource_request"
I made it work with rke2 by enabling kube-scheduler and authorized the "/metrics/resources" path, with the following options:
kube-scheduler-arg: bind-address=0.0.0.0;authorization-always-allow-paths=/healthz,/readyz,/livez,/metrics,/metrics/resources
doing
curl -k https://127.0.0.1:10259/metrics/resources
on controller show me the metric.I tried to configure the same on k3s, and no metrics are retrurn.
I wonder if there is something else to do with k3s ?
Thanks for the help,
Beta Was this translation helpful? Give feedback.
All reactions