# The kubelet evicts a pod because its node has crossed the memory.available hard eviction threshold. What happens to that pod?

Kubernetes, Medium (Advanced), Troubleshooting. https://k8wiz.com/uquiz/the-kubelet-evicts-a-pod-because-its-node-has-crossed-the-memoryavailable-hard-eviction-threshold-what-happens-to-that-pod

- A. Its containers are restarted in place according to restartPolicy
- B. It waits until its PodDisruptionBudget allows the eviction
- C. Its phase is set to Failed and it is not restarted on that node
- D. It goes back to Pending and the scheduler places it on another node

**Answer:** Its phase is set to Failed and it is not restarted on that node

**Explanation:** During node-pressure eviction the kubelet sets the pod's phase to Failed, with reason Evicted, and terminates it. It ignores PodDisruptionBudgets and uses a zero grace period for hard thresholds. A controller such as a Deployment then creates a new pod, which can land elsewhere. A container OOM kill is different: the kubelet restarts the container in place.
