I’m running Netdata in kubernetes and I’m getting errors that say ‘cannot read cgroup /host/sys/fs/cgroup’ but i can hop into a running netdata container and see that filesystem. I’m not running selinux. I use the securityContext found in the helm chart (as seen below). And I can see that the filesystem allows all users to read that directory. Any ideas on what the problem could be?
securityContext:
capabilities:
add:
- SYS_PTRACE
- SYS_ADMIN
It seems it’s not a critical issue because i’m getting the metrics i need. I wish it was easier to say ‘i only want these metrics so only grab those metrics from /sys/fs/cgroup
My solution to avoid the noise is set log level to critical