summaryrefslogtreecommitdiffstats
path: root/ansible/roles/kube-prometheus-stack/defaults/main.yml
blob: 74d6564a5216bc03046e7faef6f1ca1115d0df80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
kube_prometheus_stack:
  k8s_namespace: kube-prometheus
  helm_release_name: kube-prometheus-stack
  helm_timeout: "60s"
  helm_values_file: "{{ app_data_path }}/kube_prometheus_values.yaml"
  helm_values:
    grafana:
      adminPassword: admin
      dashboardProviders:
        dashboardproviders.yaml:
          apiVersion: 1
          providers:
            - name: 'custom'
              orgId: 1
              folder: 'Custom'
              type: file
              disableDeletion: false
              editable: true
              updateIntervalSeconds: 60
              options:
                path: /var/lib/grafana/dashboards/custom
      persistence:
        type: pvc
        enabled: true
        storageClassName: kube-prometheus-grafana
        accessModes:
          - ReadWriteOnce
        size: 4Gi
    prometheus:
      prometheusSpec:
        scrapeInterval: 60s
        storageSpec:
          disableMountSubPath: true
          volumeClaimTemplate:
            spec:
              storageClassName: kube-prometheus-prometheus
              accessModes: ["ReadWriteOnce"]
              resources:
                requests:
                  storage: 6Gi