- Home
- All questions
- Question 819
CKA study material · question 819 of 1000
A Pod uses an emptyDir with medium set to Memory and is OOM-killed after writing a large file to it. Why?
Show the answer
Answer: A. tmpfs writes are charged against the writing container's memory limit
A Memory-medium emptyDir is a tmpfs, and files written there count against the container's memory limit — fast, but a direct route to an OOM kill.
Source: Volumes (Kubernetes) — Types of volumes › emptyDir