The problem
Kubernetes doesn’t provide data persistence out of the box, which means when a pod is re-created, the data (of a database application for example) is lost. 🙉
So, you need to create and configure the actual physical storage and manage it by yourself.
How to do it
Once configured, you can use that physical storage using Kubernetes storage components.
In this video I show you 3 different Kubernetes volume components, that you need to use to connect the actual physical storage to your pod, so that the application inside the container can access it.
3 Volume Components
ConfigMap and Secret as Volume Types
ConfigMap and Secret components can be used to:
You can find the full video here:
https://youtu.be/0swOh5C3OVM
#kubernetes #devops #devopstools #tutorial #docker