A node shows `MemoryPressure` constantly even though Pods use little memory.
AdvancedTroubleshootingNodes, kubelet and container runtime
Answer
Likely causes → Something outside Pods uses the memory: a leaking system daemon (old log agent installed on the host, security agent), kernel slab growth, or page cache not counted as available on cgroup v1 in some cases.
Diagnose →
# On the node
free -m
ps -eo rss,comm --sort=-rss | head
sudo slabtop -o | head -15
cat /sys/fs/cgroup/kubepods.slice/memory.current 2>/dev/null
Fix → Fix or restart the leaking host process; reserve memory for system daemons with systemReserved so the kubelet accounts for them.
Prevent → Minimal immutable node images (Bottlerocket, AL2023) without extra host agents; agents run as DaemonSets with limits.
More on Nodes, kubelet and container runtime
A node is `NotReady` and `kubectl describe node` shows `container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized`.BeginnerA node flips to `NotReady` with `Kubelet stopped posting node status`.BeginnerNode condition shows `PLEG is not healthy: pleg was last seen active 3m10s ago; threshold is 3m0s`.AdvancedAfter a reboot the kubelet will not start: `failed to run Kubelet: running with swap on is not supported, please disable swap!`.BeginnerOn a new kubeadm node, static control-plane Pods and other Pods restart randomly every few minutes. Containerd is installed from the distro.AdvancedPods are evicted from a node with `The node was low on resource: ephemeral-storage. Threshold quantity: 10%, available: 8%` and the node shows `DiskPressure`.Intermediate