NFS Share

To mount an NFS share to your Pod you can either pre-create a persistentVolumeClaim referring to it, or you can specify an inline NFS volume:

Note

Mounting an NFS share this way does not allow for specifying mount options. If you require these, you must create a PVC to mount the share.

FieldMandatoryDocs / Description
enabledYes
typeYes
serverYesHost name or IP address of the NFS server.
pathYesThe path on the server to mount.
readOnlyNoExplicitly specify if the volume should be mounted read-only. Even if not specified, the Secret will be read-only.

Minimal configuration:

persistence:
  config:
    enabled: true
    type: nfs
    server: 10.10.0.8
    path: /tank/nas/library

This will mount the NFS share /tank/nas/library on server 10.10.0.8 to /config.