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

16 lines
355 B
YAML
Raw Normal View History

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"