Introduction
Kubernetes runs applications in containers that can be stopped or moved anytime. Without persistent storage, any data saved inside a container is lost when the container stops. Persistent storage keeps data safe even if containers restart or move to other servers.
When you run a database in Kubernetes and want to keep its data safe after restarts.
When your app needs to save user files or uploads that must not disappear.
When you want to keep logs or reports generated by your app for later use.
When you want to share files between multiple containers running together.
When you want to upgrade or restart your app without losing its data.