Created
March 1, 2018 15:39
-
-
Save dwburke/2d4f6231cb0e26c886a201e4bf3484c3 to your computer and use it in GitHub Desktop.
Kubernetes persistent volume yaml for local testing (or when local storage is what you need)
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: pv0001 | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
capacity: | |
storage: 8Gi | |
hostPath: | |
path: /disks/vol1/pv0001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment