-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Cadvisor Metrics Label contain empty Strings as values (container="", image="",...) #16742
Comments
Seeing the same issue. When using --kubernetes-version=v1.23.17 it works, so something changed between then and v1.24.x (and present). |
I am experiencing the same problem while running version 1.28 on darwin with a minikube setup. container_threads_max{container="",id="/kubepods/burstable/pod3eadeaa9-ea2b-4306-8d36-4362544e97f1/89f9ece7f73db56c1703176ea98328158427b7c771db42923261b48827d0fcb4",image="",name="",namespace="",pod=""} 0 1701391500461 |
Try containerd as the container runtime when starting minikube. minikube start --container-runtime=containerd |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What Happened?
I want to analyze the resource consumption (CPU, Network, Memory, I/O) on container level.
As far as I know, these metrics are generated by cadvisor and exposed at https://kubernetes.default.svc/api/v1/nodes/minikube/proxy/metrics/cadvisor.
I check them through the following command:
kubectl get --raw /api/v1/nodes/minikube/proxy/metrics/cadvisor
My problem is, that the necessary container label (among others like image and name) are empty strings. That prevents me from analyzing the resource consumption per container.
For example:
How do I configure cadvisor (or check if cadvisor is correctly configured)?
Do you have a suggestion how I could get these metrics?
I would highly appreciate help! If you need any more info, let me know.
Thank you :)
Attach the log file
minikube_log.txt
Operating System
Windows
Driver
Docker
The text was updated successfully, but these errors were encountered: