16 lines
No EOL
356 B
YAML
16 lines
No EOL
356 B
YAML
apiVersion: v1
|
|
kind: PersistentVolume
|
|
metadata:
|
|
name: prometheus-pv
|
|
namespace: monitoring
|
|
labels:
|
|
app.kubernetes.io/name: kube-prometheus-stack-pv
|
|
spec:
|
|
storageClassName: hostpath
|
|
persistentVolumeReclaimPolicy: Retain
|
|
capacity:
|
|
storage: 30Gi
|
|
accessModes:
|
|
- ReadWriteOnce
|
|
hostPath:
|
|
path: "/mnt/MainPool/Kubernetes/prometheus" |