how to debug evicted pod on k8s

11/26/2018

Team, I searched some but could not get much as am new to k8s. my pods are evicted and I get message as "Status: Failed Reason: Evicted Message: The node was low on resource: nodefs."

any helm how can I figure out what is going on?

-- AhmFM
kubectl
kubelet
kubernetes

1 Answer

11/26/2018

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.

-- ZPrime
Source: StackOverflow