Skip to content

Instantly share code, notes, and snippets.

@zaheeraws
Created May 25, 2019 06:57
Show Gist options
  • Save zaheeraws/e29d618025b2e9b7acfc3f3daec3db8d to your computer and use it in GitHub Desktop.
Save zaheeraws/e29d618025b2e9b7acfc3f3daec3db8d to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: PersistentVolume
metadata:
name: wordpress-pv
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
- ReadOnlyMany
persistentVolumeReclaimPolicy: Retain
hostPath:
path: /data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment