Created
July 17, 2019 19:36
-
-
Save chadmcrowell/37ebf15723739cdf4fe4ac15ee3dbce8 to your computer and use it in GitHub Desktop.
Persistent Volume YAML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: data-pv | |
spec: | |
storageClassName: local-storage | |
capacity: | |
storage: 1Gi | |
accessModes: | |
- ReadWriteOnce | |
hostPath: | |
path: mnt/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment