Interview Prep/Kubernetes/Configuration & Storage

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.

All Kubernetes questions Roadmap: Kubernetes core

More on Configuration & Storage