harbor/make/kubernetes/pv/storage.pv.yaml
2017-01-16 12:06:35 +08:00

15 lines
241 B
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: storage-pv
labels:
type: storage
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
hostPath:
path: /data/storage