How to debug evicted pod on k8s
Run kubectl describe pod <pod name>
and look for the node name of this pod. Followed by kubectl describe node <node-name>
that will show what type of resource cap the node is hitting under Conditions:
section.
From my experience this happens when the host node runs out of disk space.