summaryrefslogtreecommitdiffstats
path: root/ansible/roles/kube-prometheus-stack/defaults/main.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/kube-prometheus-stack/defaults/main.yml')
-rw-r--r--ansible/roles/kube-prometheus-stack/defaults/main.yml9
1 files changed, 8 insertions, 1 deletions
diff --git a/ansible/roles/kube-prometheus-stack/defaults/main.yml b/ansible/roles/kube-prometheus-stack/defaults/main.yml
index f84fd0a0..d6b49d47 100644
--- a/ansible/roles/kube-prometheus-stack/defaults/main.yml
+++ b/ansible/roles/kube-prometheus-stack/defaults/main.yml
@@ -7,6 +7,13 @@ kube_prometheus_stack:
helm_values:
grafana:
adminPassword: admin
+ persistence:
+ type: pvc
+ enabled: true
+ storageClassName: kube-prometheus-grafana
+ accessModes:
+ - ReadWriteOnce
+ size: 4Gi
prometheus:
prometheusSpec:
scrapeInterval: 60s
@@ -14,7 +21,7 @@ kube_prometheus_stack:
disableMountSubPath: true
volumeClaimTemplate:
spec:
- storageClassName: kube-prometheus
+ storageClassName: kube-prometheus-prometheus
accessModes: ["ReadWriteOnce"]
resources:
requests: