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

Commit

Permalink
add doc: bootstrap prereq for linux cgroup1 (#2220)
Browse files Browse the repository at this point in the history
Signed-off-by: kcoriordan <[email protected]>
  • Loading branch information
kcoriordan authored Oct 12, 2021
1 parent 2f4f948 commit 3405fcf
Showing 1 changed file with 22 additions and 0 deletions.
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)

0 comments on commit 3405fcf

Please sign in to comment.