summaryrefslogtreecommitdiffstats
path: root/ansible/roles/kube-prometheus-stack/defaults/main.yml
blob: 53685becf5c7920594f5d71483d924dfd47b9354 (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
42
43
44
45
46
47
48
49
---
kube_prometheus_stack:
  k8s_namespace: kube-prometheus
  helm_release_name: kube-prometheus-stack
  helm_timeout: "240s"
  helm_values_file: "{{ app_data_path }}/kube_prometheus_values.yaml"
  helm_values:
    grafana:
      adminPassword: grafana
      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
      service:
        enabled: true
        type: NodePort
        port: 80
        targetPort: 3000
        annotations: {}
        labels: {}
        portName: service
    prometheus:
      prometheusSpec:
        scrapeInterval: 60s
        storageSpec:
          disableMountSubPath: true
          volumeClaimTemplate:
            spec:
              storageClassName: kube-prometheus-prometheus
              accessModes: ["ReadWriteOnce"]
              resources:
                requests:
                  storage: 6Gi