How to fix The kubelet is unhealthy due to a misconfiguration of the node in some way required cgroups disabled error
System Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.
Introduction
This kubelet error means the node does not expose the control-group features Kubernetes expects. In practice, the fix is usually at the host level, not inside Kubernetes itself: enable the required cgroup controllers, align the container runtime and kubelet driver settings, and then restart the node services. If you only restart kubelet without fixing the node, the error comes back immediately.
Why Kubernetes Cares About Cgroups
Kubernetes uses cgroups to track and enforce CPU, memory, and process limits for containers. If the required controllers are disabled or not mounted correctly, kubelet cannot manage pods safely and reports the node as unhealthy.
Common root causes are:
- memory cgroup support disabled in the kernel boot configuration
- cgroup controllers not mounted
- mismatch between kubelet and container runtime cgroup driver
- unusual minimal OS images with incomplete container prerequisites
On Raspberry Pi, old Ubuntu images, and custom VM templates, boot parameters are a particularly common cause.
Start With Host-Level Checks
Check whether the kernel exposes cgroup controllers:
What you are looking for:
- '
memoryand other controllers enabled in/proc/cgroups' - cgroup mounts present under
/sys/fs/cgroup - whether the machine is using cgroup v1 or v2
Also inspect the kubelet and runtime logs:
These logs usually confirm whether the complaint is about disabled controllers, driver mismatch, or boot-time configuration.
Fix Boot Parameters When Controllers Are Disabled
On systems where memory cgroups are disabled at boot, kubelet cannot recover on its own. You need to enable the kernel parameters and reboot.
A common legacy boot-line fix looks like this:
On systems that use /boot/cmdline.txt, append the parameters to the single existing line, reboot, and recheck /proc/cgroups.
After reboot:
If the controller still shows as disabled, the boot parameters were not applied correctly or the image/kernel does not support the required configuration.
Align the Cgroup Driver Between Kubelet and Runtime
Even with cgroups enabled, kubelet can fail if its driver expectations do not match the runtime. The common pairing on modern Linux with containerd is systemd.
For containerd, inspect the config:
A common healthy setting is:
If you change it, restart containerd and kubelet:
For kubeadm-managed clusters, also make sure the kubelet configuration is not forcing a conflicting cgroup driver.
Distinguish Cgroup v1 and v2 Issues
Modern Linux distributions increasingly use cgroup v2. Kubernetes and your container runtime need to support the host mode you are using. If the node is half-configured for one style and the runtime is expecting another, kubelet health checks can fail in ways that look like a generic cgroup problem.
This is why the stat -fc %T /sys/fs/cgroup output matters. It tells you whether you are on cgroup2fs or an older layout.
Validate the Fix End to End
Once you change the host configuration, do not stop at "kubelet restarted." Validate the node properly:
If the node reaches Ready, the host configuration is now acceptable to kubelet. If it stays unhealthy, inspect the logs again rather than repeating the same restarts.
When This Happens in Local Lab Environments
This issue is common in:
- Raspberry Pi and ARM lab clusters
- nested virtualization setups
- old cloud images reused for Kubernetes without container prerequisites
- custom Linux installs optimized for minimal footprint
In those environments, the host OS often needs a small amount of manual boot and runtime tuning before kubelet can work correctly.
Common Pitfalls
- Restarting kubelet repeatedly without checking the host cgroup configuration.
- Fixing the runtime driver but forgetting to reboot after changing kernel boot parameters.
- Assuming every Linux image has memory cgroups enabled by default.
- Ignoring the difference between cgroup controller availability and cgroup driver alignment.
- Diagnosing only Kubernetes manifests when the failure is clearly at the node level.
Summary
- This error is a node-configuration problem, not an application-level Kubernetes problem.
- Check
/proc/cgroups, cgroup mounts, and kubelet logs first. - Enable missing kernel cgroup controllers at boot and reboot the node.
- Align kubelet and runtime cgroup-driver settings, especially with
containerd. - Validate the fix with node readiness and logs instead of assuming a restart solved it.
Related reading
- How to fix VM issue with minikube start ?
- How to force a redeploy with HELM
- How to force delete a Kubernetes Namespace?
- How to force delete resources in a non-existant namespace?
- How to fix the ''module java.base does not opens java.io to unnamed module '' error in Android Studio?
- How to fix The TensorFlow library was compiled to use AVX512F instructions, but these aren''t available on your machine.
- How to force SSL for Kubernetes Ingress on GKE
- How to format the output of kubectl describe to JSON
System design interview problems on this topic
- Design a Container Orchestration System: solution and walkthrough
- Design a Code Deployment System: solution and walkthrough
- Design a Task Scheduler: solution and walkthrough
- Design a GPU Cluster Scheduler for ML Training: solution and walkthrough

System Design Fundamentals
Build a strong foundation in designing scalable, reliable distributed systems.
View the courseSystem Design practice on Codemia
Work through 120+ system design problems with detailed solutions, from rate limiters to multi-region storage.