CertGrid CertGrid
Hands-on Lab·Kubernetes and Cloud Native Associate

The cgroup Driver: kubelet and containerd

The kubelet and the runtime each decide how to talk to cgroups. If they disagree the cluster half-works in ways that look like memory bugs. Two greps confirm they match.

Containers and Runtimes Guide 13 of 46 Intermediate

containerd 2.x moved its configuration layout. Paths below are 2.x; on 1.x the same settings live under different table names.

Every command here runs on the node itself. This layer is below the API server, so kubectl cannot see it.
Server NameIP AddressOSRolesCPURAMHDD
CKA1001192.168.0.175Ubuntu 26.04 LTSControl Plane Node2 Core4 GB50 GB
CKA1001-NODE01192.168.0.176Ubuntu 26.04 LTSWorker Node2 Core4 GB50 GB

This guide includes

Use this when kubelet and containerd disagree and Pods misbehave in ways nothing explains, or when you are building a node from scratch. This matters because both sides independently choose how to write cgroups, and if they choose differently the node degrades under load rather than failing cleanly.

Before you start

  1. Both sides, one setting

  2. The tree they are both writing to

  3. What images have to do with it

Official sources