]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: use split cgroup strategy for podman
author胡玮文 <huww98@outlook.com>
Thu, 11 Mar 2021 04:43:34 +0000 (12:43 +0800)
committerSage Weil <sage@newdream.net>
Fri, 23 Apr 2021 12:24:13 +0000 (07:24 -0500)
commit6a4258d5fdaa1b8ecd733cdfd55d13f8f7eb069b
tree2f4bb232bcb46c5f0c07ec9d235317897e6e1870
parentb38fadc6fcf019865d103eb35aed827ee2b12004
cephadm: use split cgroup strategy for podman

Since systemd will create a cgroup for each service, we can instruct podman to
just split the current cgroup into sub-cgroups. This enables system admins to
use resource control features from systemd.

Signed-off-by: 胡玮文 <huww98@outlook.com>
(cherry picked from commit 1a76f4793ec96045b0fed5cd85b1a6b3dbcd732c)
src/cephadm/cephadm