cluster-management/applications/logging/values/grafana-values.yaml
2024-09-03 10:22:37 -04:00

63 lines
1.3 KiB
YAML

persistence:
enabled: true
size: 10Gi
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Loki
type: loki
url: http://loki.{{ .Release.Namespace }}.svc.cluster.local:3100
access: proxy
isDefault: false
- name: Elasticsearch
type: elasticsearch
url: http://elasticsearch-master.{{ .Release.Namespace }}.svc.cluster.local:9200
access: proxy
isDefault: true
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards
dashboards:
default:
loki-logs:
gnetId: 12611
revision: 1
datasource: Loki
elasticsearch-logs:
gnetId: 4358
revision: 1
datasource: Elasticsearch
ingress:
enabled: true
annotations:
kubernetes.io/ingress.class: nginx
cert-manager.io/cluster-issuer: "letsencrypt-prod"
hosts:
- grafana.{{ .Release.Namespace }}.{{ .Values.global.hosts.domain }}
tls:
- secretName: grafana-tls
hosts:
- grafana.{{ .Release.Namespace }}.{{ .Values.global.hosts.domain }}
resources:
limits:
cpu: 200m
memory: 256Mi
requests:
cpu: 100m
memory: 128Mi