Skip to content

Instantly share code, notes, and snippets.

@procrypt
Created March 7, 2017 05:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save procrypt/8301ecc0794b0cf88ee69f87326c936f to your computer and use it in GitHub Desktop.
Save procrypt/8301ecc0794b0cf88ee69f87326c936f to your computer and use it in GitHub Desktop.
Creating PV
apiVersion: "v1"
kind: "PersistentVolume"
metadata:
name: "pv0001"
spec:
capacity:
storage: "5Gi"
accessModes:
- "ReadWriteOnce"
persistentVolumeReclaimPolicy: Recycle
hostPath:
path: /tmp/pv0001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment