harbor/make/kubernetes/pv/log.pv.yaml

15 lines
230 B
YAML
Raw Normal View History

2016-11-21 09:07:04 +01:00
apiVersion: v1
kind: PersistentVolume
metadata:
name: log-pv
labels:
type: log
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
hostPath:
path: /data/logs