Several nodes flip to `NotReady` with `MemoryPressure=True`, kubelet evicts pods in waves, and the sum of pod memory requests on those nodes is only 50%.
AdvancedTroubleshootingDisk, memory and CPU
Answer
Likely causes → Pods use far more than they request. With low requests and high (or no) limits, the scheduler packs nodes on paper while real usage overcommits the node. If kube-reserved/system-reserved aren't set, kubelet and containerd starve too and the node goes NotReady.
Diagnose →
kubectl top pods -A --sort-by=memory | head -20
kubectl describe node <node> | grep -A8 'Allocated resources'
kubectl get pods -A -o json | jq -r '.items[] | select(.status.qosClass=="BestEffort") | .metadata.namespace+"/"+.metadata.name'
Fix → Raise memory requests to real p95 usage and set memory limit equal to request for critical services (Guaranteed QoS). Cordon the hot nodes and spread the worst offenders out.
Prevent → Configure kubeReserved, systemReserved and evictionHard in the kubelet config, enforce defaults with a LimitRange, and use VPA in recommendation mode to keep requests honest.
More on Disk, memory and CPU
The app fails to write with "No space left on device", but `df -h` shows the volume is only 40% used.Beginner`df -h` says `/` is 100% full, but `du -sh /*` only adds up to 30% of the disk.BeginnerA server shows load average 40 on 8 cores, but `top` shows CPU 60% idle and the app is crawling.BeginnerPods are being evicted with "The node was low on resource: ephemeral-storage. Container app was using 18Gi, which exceeds its request of 0."IntermediateCI build agents running Docker fail with "no space left on device" while pulling images; `/var/lib/docker` is 95% full.IntermediatePostgres on a VM died overnight; `dmesg` shows "Out of memory: Killed process 2314 (postgres) total-vm:..., anon-rss:...".Intermediate