nri
nri copied to clipboard
Feature Request: support cgroup version call in `RuntimeService`
Usually, when configuring cgroup information in a plugin, it is abstracted into a common interface. This avoids exposing specific cgroup version details, making it easier for upgrades and migrations.
However, the current plugin cannot determine the cgroup version (e.g., v1 or v2), which is inconvenient for cgroup configuration.
--config (want don't care cgroup version) ---> plugin ---> cri (containerd)
Therefore, I hope that can support querying the current cgroup version used by containerd, and better if the call can be made within the nri interface.