Score:3

Why does microk8s keep complaining that the memory cgroup is not enabled?

hu flag

I have several raspberry pie's with ubuntu 22.04 installed on them. On them I have installed microk8s (1.25). I have also enabled the memory cgroup as per the instructions here: https://microk8s.io/docs/install-alternatives#heading--arm.

ubuntu@pi43:$ cat /proc/cmdline
coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 bcm2708_fb.fbwidth=0 bcm2708_fb.fbheight=0 bcm2708_fb.fbswap=1 smsc95xx.macaddr=E4:5F:01:0B:14:8A vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash cgroup_enable=memory cgroup_memory=1

So it would appear that the memory cgroup is enabled.

However when I run a microk8s inspect I get the warning that this is not the case:

ubuntu@pi43:$ sudo microk8s inspect
Inspecting system
(...)
WARNING:  The memory cgroup is not enabled.
The cluster may not be functioning properly. Please ensure cgroups are enabled

Why would that be?

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.