Nodes run out of disk space, triggering eviction of pods. Fix by cleaning up disk space, configuring proper storage limits, and monitoring disk usage.
When a node runs low on disk space, the kubelet marks the node with DiskPressure condition and starts evicting pods to reclaim space. Critical pods are evicted last, but best-effort pods go first.
kubectl describe node <node-name> | grep Disk
df -h /var/lib/kubeletsudo docker system prune -a
sudo crictl rmi --prunesudo find /var/log -type f -name "*.log" -exec truncate {} \;resources:
limits:
ephemeral-storage: "1Gi"Use kubelet flags like --image-gc-high-threshold and --image-gc-low-threshold.
Failed to connect to server: connection refused (HTTP/2)
How to fix "HTTP/2 connection refused" error in Kubernetes
missing request for cpu in container
How to fix "missing request for cpu in container" in Kubernetes HPA
error: invalid configuration
How to fix "error: invalid configuration" in Kubernetes
Configure alerts for disk pressure.