Skip to content

Commit 80a3bba

Browse files
committed
Update reserve-compute-resources.md
Add suffix '.slice' with `systemd` cgroup driver on reserved cgroup name.
1 parent 1619d8b commit 80a3bba

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/en/docs/tasks/administer-cluster/reserve-compute-resources.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,10 @@ system daemon should ideally run within its own child control group. Refer to
9595
for more details on recommended control group hierarchy.
9696

9797
Note that Kubelet **does not** create `--kube-reserved-cgroup` if it doesn't
98-
exist. Kubelet will fail if an invalid cgroup is specified.
98+
exist. Kubelet will fail if an invalid cgroup is specified. With `systemd`
99+
cgroup driver, you should follow a specific pattern for the name of the cgroup you
100+
define: the name should be the value you set for `--kube-reserved-cgroup`,
101+
with `.slice` appended.
99102

100103
### System Reserved
101104

@@ -120,7 +123,10 @@ It is recommended that the OS system daemons are placed under a top level
120123
control group (`system.slice` on systemd machines for example).
121124

122125
Note that `kubelet` **does not** create `--system-reserved-cgroup` if it doesn't
123-
exist. `kubelet` will fail if an invalid cgroup is specified.
126+
exist. `kubelet` will fail if an invalid cgroup is specified. With `systemd`
127+
cgroup driver, you should follow a specific pattern for the name of the cgroup you
128+
define: the name should be the value you set for `--system-reserved-cgroup`,
129+
with `.slice` appended.
124130

125131
### Explicitly Reserved CPU List
126132

0 commit comments

Comments
 (0)