k3s-cluster/cluster/apps/monitoring/victoria-metrics/victoria-pv.yaml

16 lines
No EOL
355 B
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: victoria-pv
namespace: monitoring
labels:
app.kubernetes.io/name: victoria-metrics-pv
spec:
storageClassName: hostpath
persistentVolumeReclaimPolicy: Retain
capacity:
storage: 32Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/MainPool/Kubernetes/victoria-metrics"