Skip to content

Commit dec940e

Browse files
authored
Merge pull request #31328 from sftim/20220113_clarify_example_linux_command_line_cgroup_v2
Clarify example for setting Linux command line
2 parents 5ccbcd8 + ef6d83b commit dec940e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

content/en/docs/setup/production-environment/container-runtimes.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,17 @@ If systemd doesn't use cgroup v2 by default, you can configure the system to use
8383
`systemd.unified_cgroup_hierarchy=1` to the kernel command line.
8484

8585
```shell
86-
# dnf install -y grubby && \
86+
# This example is for a Linux OS that uses the DNF package manager
87+
# Your system might use a different method for setting the command line
88+
# that the Linux kernel uses.
89+
sudo dnf install -y grubby && \
8790
sudo grubby \
8891
--update-kernel=ALL \
8992
--args="systemd.unified_cgroup_hierarchy=1"
9093
```
9194

92-
To apply the configuration, it is necessary to reboot the node.
95+
If you change the command line for the kernel, you must reboot the node before your
96+
change takes effect.
9397

9498
There should not be any noticeable difference in the user experience when switching to cgroup v2, unless
9599
users are accessing the cgroup file system directly, either on the node or from within the containers.

0 commit comments

Comments
 (0)