May 2018
Intermediate to advanced
554 pages
13h 51m
English
You can mount an network filesystem (NFS) to your Pod as nfs volume. Multiple Pods can mount and share the files in the same nfs volume. The data stored into nfs volume will be persistent across the Pod lifetime. You have to create your own NFS server before using nfs volume, and make sure the nfs-utils package is installed on Kubernetes minions.
The configuration file of the volume type with NFS is similar to others, but nfs.server and nfs.path are required in the volume ...