Kubernetes:Volume
lastmod 2026-11-10created 2022-07-202 edits
Volume is a disk abstraction through which containers inside a Kubernetes Pod store data and share it with each other. Data persists across container restarts for as long as the Pod is alive, and there are several types, such as emptyDir, hostPath, configMap, secret, and persistentVolumeClaim. If data must be kept regardless of the Pod's lifetime, use a PersistentVolume and a PersistentVolumeClaim.