What is `emptyDir` and when is it used?
BeginnerConceptConfiguration & Storage
Answer
An empty directory created when the Pod is scheduled and deleted with the Pod. It is shared by all containers in the Pod, so it suits scratch space, caches and sidecar hand-offs. medium: Memory backs it with tmpfs (counts against the memory limit); set sizeLimit to bound it.
More on Configuration & Storage
What is a ConfigMap and how can a Pod consume it?BeginnerWhat is a Secret and is it secure by default?BeginnerWhat are the common Secret types?BeginnerWhat is a Volume and how does it differ from a container filesystem?BeginnerWhat are PersistentVolume (PV), PersistentVolumeClaim (PVC) and StorageClass?BeginnerWhat are the PV access modes?Beginner