File tree Expand file tree Collapse file tree 5 files changed +95
-35
lines changed
Expand file tree Collapse file tree 5 files changed +95
-35
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,4 +3,5 @@ kind: Kustomization
33namespace : monitoring
44resources :
55 - repository.yaml
6- - release.yaml
6+ - loki_release.yaml
7+ - promtail_release.yaml
Original file line number Diff line number Diff line change 1+ apiVersion : helm.toolkit.fluxcd.io/v2beta2
2+ kind : HelmRelease
3+ metadata :
4+ name : loki
5+ spec :
6+ interval : 5m
7+ dependsOn :
8+ - name : kube-prometheus-stack
9+ chart :
10+ spec :
11+ version : " 5.x"
12+ chart : loki
13+ sourceRef :
14+ kind : HelmRepository
15+ name : grafana-charts
16+ interval : 60m
17+ # https://github.com/grafana/loki/blob/main/production/helm/loki/values.yaml
18+ values :
19+ loki :
20+ auth_enabled : false
21+ serviceMonitor :
22+ enabled : true
23+ labels :
24+ app.kubernetes.io/part-of : kube-prometheus-stack
25+ commonConfig :
26+ replication_factor : 1
27+ storage :
28+ type : ' filesystem'
29+ table_manager :
30+ retention_deletes_enabled : true
31+ retention_period : 12h
32+ gateway :
33+ enabled : true
34+ singleBinary :
35+ replicas : 1
36+ # Monitoring section determines which monitoring features to enable
37+ monitoring :
38+ # Dashboards for monitoring Loki
39+ dashboards :
40+ # -- If enabled, create configmap with dashboards for monitoring Loki
41+ enabled : false
42+ selfMonitoring :
43+ enabled : false
44+ grafanaAgent :
45+ installOperator : false
46+ # The Loki canary pushes logs to and queries from this loki installation
47+ # to test that it's working correctly
48+ lokiCanary :
49+ enabled : false
50+ # -- Section for configuring optional Helm test
51+ test :
52+ enabled : false
53+ extraObjects :
54+ - apiVersion : v1
55+ kind : ConfigMap
56+ metadata :
57+ name : loki-datasource
58+ labels :
59+ app : loki
60+ chart : loki
61+ release : loki
62+ grafana_datasource : " 1"
63+ app.kubernetes.io/part-of : kube-prometheus-stack
64+ data :
65+ loki-datasource.yaml : |-
66+ apiVersion: 1
67+ datasources:
68+ - name: Loki
69+ type: loki
70+ access: proxy
71+ url: http://loki:{{ .Values.loki.server.http_listen_port }}
72+ version: 1
73+ isDefault: false
Original file line number Diff line number Diff line change 1+ apiVersion : helm.toolkit.fluxcd.io/v2beta2
2+ kind : HelmRelease
3+ metadata :
4+ name : promtail
5+ spec :
6+ interval : 5m
7+ dependsOn :
8+ - name : kube-prometheus-stack
9+ chart :
10+ spec :
11+ version : " 6.x"
12+ chart : promtail
13+ sourceRef :
14+ kind : HelmRepository
15+ name : grafana-charts
16+ interval : 60m
17+ # https://github.com/grafana/helm-charts/blob/main/charts/promtail/values.yaml
18+ values :
19+ test :
20+ enabled : false
File renamed without changes.
You can’t perform that action at this time.
0 commit comments