mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-16 01:53:51 +00:00
Added cgroup documentation for raspbian
This commit is contained in:
committed by
Catherine Luse
parent
44e281491e
commit
46d790c25d
@@ -19,6 +19,7 @@ This section contains advanced information describing the different ways you can
|
||||
- [Additional preparation for Alpine Linux setup](#additional-preparation-for-alpine-linux-setup)
|
||||
- [Running K3d (K3s in Docker) and docker-compose](#running-k3d-k3s-in-docker-and-docker-compose)
|
||||
- [Enabling legacy iptables on Raspbian Buster](#enabling-legacy-iptables-on-raspbian-buster)
|
||||
- [Enabling cgroups for Raspbian Buster](#enabling-cgroups-for-raspbian-buster)
|
||||
- [SELinux Support](#selinux-support)
|
||||
|
||||
# Certificate Rotation
|
||||
@@ -304,6 +305,15 @@ sudo update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
# Enabling cgroups for Raspbian Buster
|
||||
|
||||
Standard Raspbian Buster installations do not start with `cgroups` enabled. **K3S** needs `cgroups` to start the systemd service. `cgroups`can be enabled by appending `cgroup_memory=1 cgroup_enable=memory` to `/boot/cmdline.txt`.
|
||||
|
||||
## example of /boot/cmdline.txt
|
||||
```
|
||||
console=serial0,115200 console=tty1 root=PARTUUID=58b06195-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait cgroup_memory=1 cgroup_enable=memory
|
||||
```
|
||||
|
||||
# SELinux Support
|
||||
|
||||
_Supported as of v1.19.4+k3s1. Experimental as of v1.17.4+k3s1._
|
||||
|
||||
Reference in New Issue
Block a user