We need to additionally add support for cgroups v1 as testing has shown that we have environments using cgroups v1 that must be supported.
cgroupfs only supports cgroups v2, but it looks like cgroups-rs (supported by Kata Containers) has support for both v1 and v2, so we should look into switch to that as the basis for our cgroup metadata collector.
Context
We need to additionally add support for cgroups v1 as testing has shown that we have environments using cgroups v1 that must be supported.
cgroupfs
only supports cgroups v2, but it looks likecgroups-rs
(supported by Kata Containers) has support for both v1 and v2, so we should look into switch to that as the basis for our cgroup metadata collector.