forked from ElioTohm/grafana-local-cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
grafana-dashboard-values.yaml
54 lines (49 loc) · 1.17 KB
/
grafana-dashboard-values.yaml
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
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: mimir
type: prometheus
url: http://mimir-nginx.mimir/prometheus
access: proxy
isDefault: true
- name: Loki
type: loki
uid: loki
access: proxy
url: http://loki-gateway.loki
ingress:
enabled: true
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/affinity: "cookie"
nginx.ingress.kubernetes.io/session-cookie-name: "grafana_session"
nginx.ingress.kubernetes.io/session-cookie-expires: "172800"
nginx.ingress.kubernetes.io/session-cookie-max-age: "172800"
hosts:
- gdash.localhost
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 10
targetCPU: "70"
grafana.ini:
server:
root_url: http://gdash.localhost
database:
type: postgres
host: postgresql-ha-pgpool:5432
name: postgres
user: postgres
password: $__env{POSTGRESQL_PASSWORD}
remote_cache:
type: redis
connstr: addr=redis-cluster:6379
live:
ha_engine: redis
ha_engine_address: redis-cluster:6379
envValueFrom:
POSTGRESQL_PASSWORD:
secretKeyRef:
name: postgresql-ha-postgresql
key: password