Pods and regular volumes:

Pod's regular volumes allow us to create a directory on a host, that the container inside the pod could access. 
This volume could also be shared between the containers
running inside the same pod.

If a container crashes and gets restarted for example, the new container will re-attach itself again to the same shared storage.


Below is the Yaml configuration file of a pod and its storage:


Remark:

The pod's shared volume exists as long as the pod is running.
Brando Sabatini and Ikbal C ©. Powered by Blogger.