EmptyDirVolumeSource [api_object]ai-synthesized · conf 0.82
Represents an empty directory for a pod. Empty directory volumes support ownership management and SELinux relabeling.
corestorage
A volume that stores data in memory only, and is deleted when the pod is terminated.
Why it matters Useful for ephemeral storage needs, such as storing temporary data or caching frequently accessed files.
Key facts - Data stored in an EmptyDirVolumeSource is not persisted across restarts - EmptyDirVolumeSource is deleted when the pod is terminated
Common pitfalls - Not suitable for persistent storage needs, as data is lost on pod termination
Related PersistentVolumeClaim (PVC), StatefulSet
Sources
swagger.json — “io.k8s.api.core.v1.EmptyDirVolumeSource”