Skip to content
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

kube_pod_container_resource_[limits|requests] metrics missing in v2.0.0-alpha.2 #1292

Closed
yli186 opened this issue Nov 2, 2020 · 1 comment · Fixed by #1294
Closed

kube_pod_container_resource_[limits|requests] metrics missing in v2.0.0-alpha.2 #1292

yli186 opened this issue Nov 2, 2020 · 1 comment · Fixed by #1294
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@yli186
Copy link

yli186 commented Nov 2, 2020

What happened:
Since we have recently upgraded our cluster to 1.18 from 1.14, so we are trying out the v2.0.0-alpha.2 version. But we were not able to get any scrape for kube_pod_container_resource_limits, while kube_pod_container_resource_requests is scraping fine for most of the pod (for some stateful pods was also missing).

What you expected to happen:

kube_pod_container_resource_limits and kube_pod_container_resource_requests to scrape as per documented

How to reproduce it (as minimally and precisely as possible):
Run v2.0.0-alpha.2 image pulled from quay.io as a deployment on k8s 1.18 cluster.

Anything else we need to know?:

Environment:

@lilic
Copy link
Member

lilic commented Nov 3, 2020

Thanks for reporting! This is fixed in release-2.0 branch by @jimmyseto PR and will be included in the next pre-release sometime this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
2 participants