What are local PersistentVolumes and ephemeral inline volumes?
IntermediateConceptConfiguration & Storage
Answer
Local PVs expose a node's disk as a PV with nodeAffinity so Pods are scheduled to that node; they give high IOPS but no resilience if the node dies. Generic ephemeral volumes (ephemeral.volumeClaimTemplate) create a PVC tied to the Pod's lifetime, which is handy for scratch space on real storage classes.
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 is `emptyDir` and when is it used?BeginnerWhat are PersistentVolume (PV), PersistentVolumeClaim (PVC) and StorageClass?Beginner