Prometheus & cadvisor & k8s / "image" label with Empty values Prometheus & cadvisor & k8s / "image" label with Empty values kubernetes kubernetes

Prometheus & cadvisor & k8s / "image" label with Empty values


Your symptoms are somewhat similar to this issue.

The high-level symptom is that curl /metrics returns blank for image, namespace, etc.

It appears that kubelet's view of the universe has diverged significantly from Docker's hence it does not have the metadata to tag container metrics.

In my case I was running Docker with a nonstandard root directory, and telling kubelet this explictly via --docker-root fixed the problem.