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

Kubelet failed to get system container stats #11

Open
nuriel77 opened this issue May 31, 2018 · 0 comments
Open

Kubelet failed to get system container stats #11

nuriel77 opened this issue May 31, 2018 · 0 comments

Comments

@nuriel77
Copy link

It seems that running kubelet with runc makes it impossible to access container stats.

May 31 07:24:05 atomictest-4 runc[3945]: E0531 07:24:05.036706    3953 summary.go:92] Failed to get system container stats for "/system.slice": failed to get cgroup stats for "/system.slice": failed to get container info for "/system.slice": unknown container "/system.slice"

I tried to run kubelet directly (not via runc) /var/lib/containers/atomic/kubelet.0/rootfs/usr/bin/kubelet with the same command line argument and then it can access container stats.

It seems to me that when running with runc it cannot access host system /sys/fs/cgroup/systemd/system.slice which is necessary to collect container stats.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant