Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable PIDs cgroup #2968

Closed
wants to merge 1 commit into from
Closed

Conversation

hgontijo
Copy link

My use case to is to allow Kubernetes master to run on Raspberry Pi 3.
Kubernetes introduced Pid limiting,
on v.1.14.0 which includes Pod Pids Limit
and Node Pids Limit
that requires pids cgroup.

Kernel compiled with this option and running on Raspberry 3 Model B+:

$ uname -ar; cat /proc/cgroups
Linux kube-master 4.14.114-v7+ #2 SMP Fri May 10 05:27:17 UTC 2019 armv7l GNU/Linux
#subsys_name	hierarchy	num_cgroups	enabled
cpuset	6	30	1
cpu	3	113	1
cpuacct	3	113	1
blkio	8	113	1
memory	2	116	1
devices	4	113	1
freezer	7	30	1
net_cls	9	30	1
pids	5	118	1

Fix https://github.com/teamserverless/k8s-on-raspbian/issues/16.

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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.
@pelwell
Copy link
Contributor

pelwell commented May 13, 2019

rpi-4.14.y is our stable branch, only being updated with fixes. Is support in rpi-4.19.y acceptable?

@hgontijo
Copy link
Author

Ideally in rpi-4.14.y but it's your call. Is correct to say that releasing to 4.14 in here would make it faster to a Raspbian release? Another question, when is 4.19 expected to be out?

@popcornmix
Copy link
Collaborator

popcornmix commented May 14, 2019

There won't be any more 4.14 kernels built for raspbian.
4.19 will be the next stable kernel (probably reaching apt within the next week).
See: https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=224931

pelwell pushed a commit that referenced this pull request May 15, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
@pelwell
Copy link
Contributor

pelwell commented May 15, 2019

The PIDS cgroup is now enabled in rpi-4.19.y (see ac0945c). Expect an rpi-update build in the next few days.

@hgontijo
Copy link
Author

Thank you!

@hgontijo hgontijo closed this May 15, 2019
@hgontijo hgontijo deleted the rpi-4.14.y branch May 15, 2019 16:47
pelwell pushed a commit that referenced this pull request May 21, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
pelwell pushed a commit that referenced this pull request May 21, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
pelwell pushed a commit that referenced this pull request May 21, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request May 21, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request May 21, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request May 28, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix added a commit to raspberrypi/firmware that referenced this pull request May 28, 2019
kernel rpi-4.19.y changes for common DTS+overlays

kernel: Cherrypick important w1 fixes
See: raspberrypi/linux#2958

kernel: usb: dwc_otg: Clean up interrupt claiming code
See: raspberrypi/linux#2612

kernel: ASoC: decommissioning driver for 3Dlab Nano soundcard
See: raspberrypi/linux#2923

kernel: sound: pcm512x-codec: Adding 352.8kHz samplerate support
See: raspberrypi/linux#2975

kernel: configs: Enable PIDs cgroup
See: raspberrypi/linux#2968
popcornmix added a commit to Hexxeh/rpi-firmware that referenced this pull request May 28, 2019
kernel rpi-4.19.y changes for common DTS+overlays

kernel: Cherrypick important w1 fixes
See: raspberrypi/linux#2958

kernel: usb: dwc_otg: Clean up interrupt claiming code
See: raspberrypi/linux#2612

kernel: ASoC: decommissioning driver for 3Dlab Nano soundcard
See: raspberrypi/linux#2923

kernel: sound: pcm512x-codec: Adding 352.8kHz samplerate support
See: raspberrypi/linux#2975

kernel: configs: Enable PIDs cgroup
See: raspberrypi/linux#2968
popcornmix pushed a commit that referenced this pull request Jun 4, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jun 4, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jun 10, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jun 12, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
TiejunChina pushed a commit that referenced this pull request Jun 19, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jun 21, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jul 1, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jul 4, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jul 12, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jul 16, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
TiejunChina pushed a commit that referenced this pull request Jul 23, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jul 25, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
popcornmix pushed a commit that referenced this pull request Jul 31, 2019
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)
and [Node Pids Limit](kubernetes/kubernetes@2597a1d#diff-fa76bb6ae2d9b4bb3d023737fe5e6029R333)
that requires pids cgroup.

See: #2968
anirbanray1981-zz pushed a commit to anirbanray1981-zz/ubuntu-disco that referenced this pull request Sep 18, 2019
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]>
shyam334 pushed a commit to shyam334/disco that referenced this pull request Oct 1, 2019
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants