-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
Description
Rupesh pointed out that the crawler is unable to crawl cpu / memory for containers created using k8 (works for containers created directly using docker).
Turns out cgroupfs location for containers is different in both cases.
While crawler expects them to be at /sys/fs/cgroup/memory/docker/container-id, k8 puts them in /sys/fs/cgroup/memory/kubepods/burstable/pod-id/container-id or /sys/fs/cgroup/memory/kubepods/besteffort/pod-id/container-id.
Fix is to update the search path for the crawler for the containers' cgroupfs, but this goes back into the bigger discussion of making crawler k8-aware.
How to Reproduce
Log Output
Debugging Commands Output
Output of docker version:
(paste your output here)
Output of docker info:
(paste your output here)
Output of python --version:
(paste your output here)
Output of pip freeze:
(paste your output here)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels