Pod Evicted: Ephemeral Storage Pressure
Fix node DiskPressure evictions caused by unrotated logs, temp files, or missing ephemeral-storage limits.
Root Cause
The container exceeded its ephemeral-storage limit or kubelet evicted BestEffort/Burstable pods to reclaim root filesystem space on the node.
How to Fix
- Log to stdout/stderr instead of writing local log files inside the container filesystem.
- Set resources.requests.ephemeral-storage and limits.ephemeral-storage plus emptyDir sizeLimit.
- Inspect node DiskPressure conditions with kubectl describe node.
Diagnostic Commands
kubectl get pods -n <ns> --field-selector=status.phase=Failed kubectl describe node <node> | grep -A 8 Conditions