rpi.carlosedp.cluster-monit.../samples/sample-pv-prometheus.yaml
2020-06-23 18:06:39 -03:00

15 lines
257 B
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: prometheus
labels:
type: local
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
hostPath:
path: "/data/k3s-storage/prometheus/"