[k8s][containerd] container file system metrics is not supported by cadvisor for contianerd #192
Labels
area/container
Docker Container
bug
Something isn't working
component/container-insight
enhancement
New feature or request
Follow up on #188
Background
When using containerd runtime, you will not see container filesystem metrics in structured log.
Node filesystem metrics is still there, and there is no pod filesystem metrics regardless of runtime.
Fix
That metrics is supported in both docker and crio and the rough logic is get rootfs dir for the container, base on the storage driver do some calculation, a common helper is also used to simply walk the dir and call Stat on every file (which is also how size limit is enforced by kubelet for emptydir volume).
We might be able to contribute to upstreamThe text was updated successfully, but these errors were encountered: