-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add systemd cgroup path spec #1021
Comments
kailun-qin
added a commit
to kailun-qin/runtime-spec
that referenced
this issue
Aug 5, 2021
The `--systemd-cgroup` flag and the systemd cgroup path convention currently implemented in `runc/crun` should be added to the spec. This patch adds in the spec: * the option to enable systemd cgroup; * the configs of systemd units and the containing slice to map to the cgroup tree. Fixes opencontainers#1021 Signed-off-by: Kailun Qin <[email protected]>
Do we have any plan to move this forward? Thanks! |
Thanks for opening #1115, but I meant adding proper spec for the existing implementation of systemd cgroupsPath, e.g. I didn't mean adding new fields for systemd. |
kailun-qin
added a commit
to kailun-qin/runtime-spec
that referenced
this issue
Aug 6, 2021
The systemd cgroup path convention currently implemented in runtimes like `runc/crun` should be added to the spec. This patch adds the systemd cgroup convention for `Linux.CgroupsPath` which is in the `slice:prefix:name` form and clarifies the detailed usage. Fixes opencontainers#1021 Signed-off-by: Kailun Qin <[email protected]>
kailun-qin
added a commit
to kailun-qin/runtime-spec
that referenced
this issue
Sep 2, 2022
The systemd cgroup path convention currently implemented in runtimes like `runc/crun` should be added to the spec. For more information, please kindly refer to e.g. runc systemd cgroup driver doc: https://github.com/opencontainers/runc/blame/main/docs/systemd.md. This patch adds the systemd cgroup convention for `Linux.CgroupsPath` which is in the `slice:prefix:name` form and clarifies the detailed usage. Fixes opencontainers#1021 Signed-off-by: Kailun Qin <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/opencontainers/runtime-spec/blob/master/config-linux.md#cgroups-path
The systemd cgroup path convention implemented in runc/crun should be added to the spec.
This convention is becoming important for cgroup v2, because rootless containers depends on systemd for cgroup delegation in most environments.
The text was updated successfully, but these errors were encountered: