Make the prom/graf stack great again

This commit is contained in:
Justine Pelletreau
2022-07-01 21:06:47 +02:00
parent 413a8c1a4d
commit 1730b7f67b
6 changed files with 64 additions and 3 deletions

View File

@ -3,6 +3,7 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: blackbox-exporter
namespace: monitoring
spec:
capacity:
storage: 10Gi
@ -19,6 +20,7 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: grafana-data
namespace: monitoring
spec:
capacity:
storage: 50Gi
@ -35,6 +37,7 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: grafana-conf
namespace: monitoring
spec:
capacity:
storage: 10Gi
@ -51,6 +54,7 @@ apiVersion: v1
kind: PersistentVolume
metadata:
name: prometheus
namespace: monitoring
spec:
capacity:
storage: 10Gi
@ -62,3 +66,20 @@ spec:
mountOptions:
- nfsvers=4.2
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: prometheus-data
namespace: monitoring
spec:
capacity:
storage: 30Gi
accessModes:
- ReadWriteMany
nfs:
server: nas.sq.lan
path: "/swarmdata/grafana/prometheus-data"
mountOptions:
- nfsvers=4.2