Interview Prep/Kubernetes/Configuration & Storage

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.

All Kubernetes questions Roadmap: Kubernetes core

More on Configuration & Storage