Volume
Understand how to use volume in Kubernetes
Usage and Concept of Volume
Volumes are used to store and presist data in containers. The data will not be lost when the container is restarted or deleted. Volumes can be used to share data between containers.
Refer Kubernetes Volume Types for more information.
- The above example will store the container output
/output
in the host path/data/output
.