@cryptotaxi247 / netdata-1 / commits / 7a90d9c5c

fix(cgroups.plugin): run renaming script only for containers in k8s (#12747)

Ilya Mashchenko committed Apr 25, 2022 at 10:50 UTC 7a90d9c5cc77c4bf46992138edd94d3c534d075b
1 file changed +3 -1
collectors/cgroups.plugin/sys_fs_cgroup.c
+3 -1
@@ -492,7 +492,9 @@ void read_cgroup_plugin_configuration() {
492 " *docker* "
493 " *lxc* "
494 " *qemu* "
495 - " *kubepods* " // #3396 kubernetes
495 + " /kubepods/pod*/* " // k8s containers
496 + " /kubepods/*/pod*/* " // k8s containers
497 + " !/kubepods* " // all other k8s cgroups
498 " *.libvirt-qemu " // #3010
499 " * "
500 ), NULL, SIMPLE_PATTERN_EXACT);