Skip to content

Instantly share code, notes, and snippets.

@azhuox
Created November 29, 2020 21:21
Show Gist options
  • Save azhuox/008f480d3d6e6975e2a3ecfc8cc302bf to your computer and use it in GitHub Desktop.
Save azhuox/008f480d3d6e6975e2a3ecfc8cc302bf to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: PersistentVolume
metadata:
name: nfs-pv
spec:
nfs:
# TODO: use right IP
server: 12.34.56.78
path: "/data"
readOnly: false
mountOptions:
- vers=4.0
- rsize=32768
- wsize=32768
capacity:
storage: 10Gi
accessModes:
- ReadWriteMany
persistentVolumeReclaimPolicy: Retain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment