- One issue of containers is that, they are stateless and if pod or container dies, you loose the data
- While this gives them flexibility to just rollup, throw and create new, very very fast, it makes it different to manage services like database
- To overcome statelessness of containers, kubernetes can use "Volumes"
- Volume attaches a physical storage (HDD, SSD etc) to a pod.
- The volume can be anywhere
- Local to Worker node
- Remote outside of Node
- Even cloud storage like s3 or Azure storage
- Think of persistant storage as an external storage device attached to Kubernetes cluster