What is a Volume and how does it differ from a container filesystem?
BeginnerConceptConfiguration & Storage
Answer
A container's writable layer disappears when the container restarts. A volume is defined at Pod level, mounted into containers, and survives container restarts (and, depending on type, Pod deletion). Types include emptyDir, configMap, secret, projected, hostPath, and PVC-backed volumes.
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 `emptyDir` and when is it used?BeginnerWhat are PersistentVolume (PV), PersistentVolumeClaim (PVC) and StorageClass?BeginnerWhat are the PV access modes?Beginner