Change:
}, { "ImportPath": "github.com/opencontainers/runc/libcontainer", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/apparmor", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/fs", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/cgroups/systemd", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/configs", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/configs/validate", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/criurpc", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/keys", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/label", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/seccomp", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/selinux", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/stacktrace", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/system", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/user", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, { "ImportPath": "github.com/opencontainers/runc/libcontainer/utils", <del> "Comment": "v1.0.0-rc2-49-gd223e2a", </del> <ins> "Comment": "v1.0.0-rc2-49-gd223e2ad", </ins> "Rev": "d223e2adae83f62d58448a799a5da05730228089" }, {

Discussion:
Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug report Kubernetes version (use ): Environment: Cloud provider or hardware configuration: vsphere OS (e.g. from /etc/os-release):Kernel (e.g. ): 4.9.24-coreos Install tools: Others: What happened: After bringing a cluster up, there are no container metrics in the kubelet at /metrics What you expected to happen: I expect to see the metrics, but there are none How to reproduce it (as minimally and precisely as possible): Anything else we need to know: If I try and access the metrics in cAdvisor directly on port 4194 instead of on port then I see the following type of error for all of the metrics:
There are no sig labels on this issue. Please by:<br(1) mentioning a sig: <br(2) specifying the label manually: <br<brNote: method (1) will trigger a notification to the team. You can find the team list and label list
/sig node
This appears to be a v1.7 issue. If I run 1.6.6 I get these metrics. Seems like something has happened in 1.7. I'm running the 1.7 beta because I need nodePort for cni, so now I'm stuck.
Can you triage the issue since?
cc/
Can you help verifying is this is a new regression introduced in 1.7 cadvisor through node-e2e? Thanks!
I've tried this on both cos and cvm in 1.7 cluster, and no container metrics show up. However, I created a 1.6.4 GKE cluster, and container metrics are there. This is a regression in 1.7. Will figure out what is wrong here.
Here is a corresponding cadvisor issue
Even the user still can get the container metrics / stats from kubelet /summary api (recommended way), but since this is a regression introduced in 1.7 release, and we aren't dropping prometheus support, let's fix this for 1.7. Thanks!
Fixed in Will close this issue after building new cadvisor release and cherrypick into 1.7
Thanks for the quick find everyone! I'll be happy to give this a go on the next release!

I'm still facing this same issue. My kubernetes cluster is deployed with kubeadm on Centos 7. I run a k8S v1.8.1 cluster. When I try to fetch containers metrics this way: http://localhost:8001/api/v1/proxy/nodes/node1:0/metrics http://localhost:8001/api/v1/proxy/nodes/node1:/metrics http://localhost:8001/api/v1/proxy/nodes/node1:/metrics I find no metrics. kubelet is started with . If I start kubelet with . metrics are available through .