containerd / containerd/nri

Feature Request: support cgroup version call in `RuntimeService`

Open
#77 0 comments 0 reactions 1 assignee Claimed by @klihub View on GitHub
Dominant language
Go
Stars
406
Forks
102
Avg merge
1d 10h
Merged PRs (30d)
8

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.