Comments (4)
cadvisor/container/containerd/handler.go
Lines 174 to 185 in 570d8a7
containerd not support fs disk usage yet
from cadvisor.
when use containerd cri, we could get mountinfo from proc/self/mountinfo
like this:
2826 28 0:478 / /run/containerd/io.containerd.runtime.v2.task/k8s.io/02f14690a20e38c89d9f1c251b2b043c542e49d9aa62baa3408fb3e51d369819/rootfs rw,relatime shared:811 - overlay overlay rw,lowerdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/66230/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/66153/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/66152/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/66151/fs:/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/59780/fs,upperdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/66239/fs,workdir=/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/66239/work,index=off
Therefore, when we query the disk usage of contianerd, we can use this directory/run/containerd/io.containerd.runtime.v2.task/k8s.io/02f14690a20e38c89d9f1c251b2b043c542e49d9aa62baa3408fb3e51d369819/rootfs
from cadvisor.
get disk usage by containerd rootfs:
from cadvisor.
from cadvisor.
Related Issues (20)
- Implemented cAdvisor as a container now how to use whitelisted_container_labels at run time?
- SECURITY: verifying github.com/google/[email protected]: checksum mismatch HOT 1
- Podman-docker HOT 1
- Cadvisor / prometheus logging stops at night
- Prometheus `container_network_receive_bytes_total` metric is not grouped by container ports
- Memory metrics like `container_memory_max_usage_bytes` are always zero / 0
- Many zombie processes into cadvisor container
- Use Cadvisor to monitor Docker's disks
- `container_spec_memory_reservation_limit_bytes` always Zero on cgroups_v2/docker_v25/al2023
- Cadvisor service on following nodes is either not reachable OR of a lower version than v2.1.
- To reduce the lock pressure on the kernfs file system, we should reduce the frequency of cgroup reads.
- cadvisor SIGSEGV: segmentation violation on v0.49.1 with perf enabled HOT 7
- Failed to create a Container Manager
- Without container info after host reboot.
- Lack of information about containerd deployments
- RHEL open /rootfs no such file or directory
- container_fs_inodes_free shows constant zero for docker containers with storage-driver overlay2
- Misleading name of container_memory_failures_total metric
- Duplicate values for container_fs_usage_bytes in prometheus
- Failed to create a Container Manager
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cadvisor.