Skip to content

Commit

Permalink
configs: Enable PIDs cgroup
Browse files Browse the repository at this point in the history
BugLink: https://bugs.launchpad.net/bugs/1831219

BugLink: https://bugs.launchpad.net/bugs/1825235

My use case to is to allow Kubernetes master to run on Raspberry Pi 3.
Kubernetes introduced [Pid limiting](https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/20190129-pid-limiting.md),
on v.1.14.0 which includes [Pod Pids Limit](kubernetes/kubernetes@bce9d5f
https://github.com/raspberrypi/linux rpi-5.0.y)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333
https://github.com/raspberrypi/linux rpi-5.0.y)
that requires pids cgroup.

See: raspberrypi/linux#2968
(cherry picked from commit 35a8380cccc320e21b9526bd28f0a41ebdb628d4
https://github.com/raspberrypi/linux rpi-5.0.y)
Signed-off-by: Paolo Pisati <[email protected]>
Acked-by: Stefan Bader <[email protected]>
Acked-by: Connor Kuehl <[email protected]>
Signed-off-by: Kleber Sacilotto de Souza <[email protected]>
  • Loading branch information
hgontijo authored and kelmously committed Sep 30, 2019
1 parent 725ce6f commit 550e0f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/configs/bcm2709_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ CONFIG_CGROUP_FREEZER=y
CONFIG_CPUSETS=y
CONFIG_CGROUP_DEVICE=y
CONFIG_CGROUP_CPUACCT=y
CONFIG_CGROUP_PIDS=y
CONFIG_NAMESPACES=y
CONFIG_USER_NS=y
CONFIG_SCHED_AUTOGROUP=y
Expand Down

0 comments on commit 550e0f6

Please sign in to comment.