A municipal API Pod needs a very fast scratch cache that vanishes when the Pod is deleted. Which emptyDir setting gives tmpfs-backed memory storage?
Select an answer to reveal the explanation.
Short Explanation
Think of emptyDir as a whiteboard on the Pod’s desk—usually disk chalk, but you can flip it to RAM. Setting medium to Memory parks that scratch space in tmpfs so the cache is blazing fast and gone when the Pod dies. No PVC required for throwaway speed.
Full Explanation
emptyDir volumes are ephemeral and tied to the Pod lifecycle. Setting emptyDir.medium to Memory backs the volume with tmpfs instead of the node’s disk filesystem, which suits short-lived high-speed caches. PersistentVolumeClaims and hostPath mounts solve different problems and are not the emptyDir memory medium pattern.