Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

doc: bootstrap prereq for linux cgroup1 #2220

Merged
merged 1 commit into from
Oct 12, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions docs/site/content/docs/assets/prereq-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,25 @@
|[Kubectl](https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/) |
|Latest version of Chrome, Firefox, Safari, Internet Explorer, or Edge|
|System time is synchronized with a Network Time Protocol (NTP) server.|
|Ensure your Linux bootstrap machine is using cgroup v1, for more information, see **Check and set the cgroup** below.|

#### Check and set the cgroup

1. Check the cgroup by running the following command:

```sh
docker info | grep -i cgroup
```

You should see the following output:

```sh
Cgroup Driver: cgroupfs
Cgroup Version: 1
```

2. If your Linux distribution is configured to use cgroups v2, you will need to set the `system.unified_cgroup_hierarchy=0` kernel parameter to restore cgroups v1. See the instructions for setting kernel parameters for your Linux distribution, including:

[Fedora 32+](https://fedoramagazine.org/docker-and-fedora-32/)
[Arch Linux](https://wiki.archlinux.org/title/Kernel_parameters)
[OpenSUSE](https://doc.opensuse.org/documentation/leap/reference/html/book-reference/cha-grub2.html)