blob: 8803b802a46348d32d26086f640aba170d9187b9 (
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
50
51
52
53
54
|
---
kube_prometheus_stack:
k8s_namespace: kube-prometheus
grafana_dashboards:
- { src: "grafana_dashboard.json", dest: "{{ nfs_mount_path }}/kube-prometheus/kube-prometheus-grafana/dashboards/custom/" }
- { src: "grafana_home.json", dest: "{{ nfs_mount_path }}/kube-prometheus/kube-prometheus-grafana/dashboards/" }
helm_release_name: kube-prometheus-stack
helm_timeout: "240s"
helm_values_file: "{{ app_data_path }}/kube_prometheus_values.yaml"
helm_values:
grafana:
adminPassword: grafana
env:
GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH: /var/lib/grafana/dashboards/grafana_home.json
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
|