Affected versions: Ubuntu 24.04 LTS

📖 ~1 min read

Table of contents
  1. Symptom & Impact
  2. Environment & Reproduction
  3. Root Cause Analysis
  4. Quick Triage
  5. Step-by-Step Diagnosis
  6. Solution – Primary Fix
  7. Solution – Alternative Approaches
  8. Verification & Acceptance Criteria
  9. Rollback Plan
  10. Prevention & Hardening
  11. Related Errors & Cross-Refs
  12. References & Further Reading

Symptom & Impact

Node remains NotReady and workloads fail to schedule.

Environment & Reproduction

Common after runtime or kubelet upgrade.

sudo systemctl status kubelet
kubectl get nodes
crictl info

Root Cause Analysis

Kubelet and container runtime use different cgroup drivers.

Quick Triage

Compare kubelet config and container runtime cgroup settings.

grep -R cgroup /var/lib/kubelet/config.yaml /etc/containerd/config.toml -n
sudo journalctl -u kubelet -n 100

Step-by-Step Diagnosis

Inspect effective kubelet settings and containerd dump.

sudo cat /var/lib/kubelet/config.yaml
sudo containerd config dump | grep -i SystemdCgroup
crictl info | grep -i cgroup
Illustrative mockup for ubuntu-24-04-lts — terminal_or_shell
kubelet and runtime cgroup checks — Illustrative mockup — Progressive Robot

Solution – Primary Fix

Align both services to systemd cgroup and restart daemons.

Still having issues? Our IT Solutions & Services team can diagnose and resolve this for you. Get in touch for a free consultation.

sudo sed -i 's/SystemdCgroup = false/SystemdCgroup = true/' /etc/containerd/config.toml
sudo systemctl restart containerd
sudo systemctl restart kubelet
Illustrative mockup for ubuntu-24-04-lts — logs_or_journal
kubelet registration failure logs — Illustrative mockup — Progressive Robot

Solution – Alternative Approaches

Rebootstrap node configuration with kubeadm join.

sudo kubeadm reset -f
sudo kubeadm join  --token  --discovery-token-ca-cert-hash 

Verification & Acceptance Criteria

Node reaches Ready state and accepts scheduled pods.

kubectl get nodes
kubectl describe node $(hostname)

Rollback Plan

Restore previous runtime config if compatibility issues emerge.

sudo cp /etc/containerd/config.toml.bak /etc/containerd/config.toml
sudo systemctl restart containerd kubelet

Prevention & Hardening

Standardize kubelet and runtime config through automation.

sudo systemctl is-enabled kubelet
grep -R cgroup /var/lib/kubelet /etc/containerd -n

Related to container runtime endpoint and swap settings issues.

Related tutorial: View the step-by-step tutorial for Ubuntu 24.04 LTS.

View all Ubuntu 24.04 LTS tutorials on the Tutorials Hub →

Browse all common problems & solutions on the Tutorials Hub.

References & Further Reading

Ubuntu Kubernetes node setup guidance.

Need Expert Help?

If you cannot resolve this yourself, our team offers hands-on Server Management, Managed IT Services, and flexible Support Plans. Contact us today — we respond within one business day.