Pod emptyDir volume exceeds sizeLimit. Fix by increasing limit, reducing data written, or using persistent volume.
emptyDir volumes can fill up quickly if applications write logs or temporary files. When limit is exceeded, pod is evicted.
kubectl get pod -n <namespace> <pod-name> -o yaml | grep -A 5 emptyDirvolumes:
- name: tmp
emptyDir:
sizeLimit: 500Mi # IncreasedConfigure log rotation and cleanup.
Use PVC for data exceeding emptyDir limits.
emptyDir with medium: Memory defaults to 50% of node memory.
kubectl exec -n <namespace> <pod-name> -- df -h /tmp