File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ test_pod :
2+ enabled : true
3+ image : bats/bats:1.8.2
4+ pullPolicy : IfNotPresent
5+
6+ loki :
7+ enabled : true
8+ isDefault : true
9+ url : http://{{(include "loki.serviceName" .)}}:{{ .Values.loki.service.port }}
10+ readinessProbe :
11+ httpGet :
12+ path : /ready
13+ port : http-metrics
14+ initialDelaySeconds : 45
15+ livenessProbe :
16+ httpGet :
17+ path : /ready
18+ port : http-metrics
19+ initialDelaySeconds : 45
20+ datasource :
21+ jsonData : " {}"
22+ uid : " "
23+
24+
25+ promtail :
26+ enabled : false
27+ config :
28+ logLevel : info
29+ serverPort : 3101
30+ clients :
31+ - url : http://{{ .Release.Name }}:3100/loki/api/v1/push
32+
33+ fluent-bit :
34+ enabled : false
35+
36+ grafana :
37+ enabled : false
38+ sidecar :
39+ datasources :
40+ label : " "
41+ labelValue : " "
42+ enabled : true
43+ maxLines : 1000
44+ image :
45+ tag : 10.3.3
46+
47+ prometheus :
48+ enabled : false
49+ isDefault : false
50+ url : http://{{ include "prometheus.fullname" .}}:{{ .Values.prometheus.server.service.servicePort }}{{ .Values.prometheus.server.prefixURL }}
51+ datasource :
52+ jsonData : " {}"
53+
54+ filebeat :
55+ enabled : false
56+ filebeatConfig :
57+ filebeat.yml : |
58+ # logging.level: debug
59+ filebeat.inputs:
60+ - type: container
61+ paths:
62+ - /var/log/containers/*.log
63+ processors:
64+ - add_kubernetes_metadata:
65+ host: ${NODE_NAME}
66+ matchers:
67+ - logs_path:
68+ logs_path: "/var/log/containers/"
69+ output.logstash:
70+ hosts: ["logstash-loki:5044"]
71+
72+ logstash :
73+ enabled : false
74+ image : grafana/logstash-output-loki
75+ imageTag : 1.0.1
76+ filters :
77+ main : |-
78+ filter {
79+ if [kubernetes] {
80+ mutate {
81+ add_field => {
82+ "container_name" => "%{[kubernetes][container][name]}"
83+ "namespace" => "%{[kubernetes][namespace]}"
84+ "pod" => "%{[kubernetes][pod][name]}"
85+ }
86+ replace => { "host" => "%{[kubernetes][node][name]}"}
87+ }
88+ }
89+ mutate {
90+ remove_field => ["tags"]
91+ }
92+ }
93+ outputs :
94+ main : |-
95+ output {
96+ loki {
97+ url => "http://loki:3100/loki/api/v1/push"
98+ #username => "test"
99+ #password => "test"
100+ }
101+ # stdout { codec => rubydebug }
102+ }
103+
104+ # proxy is currently only used by loki test pod
105+ # Note: If http_proxy/https_proxy are set, then no_proxy should include the
106+ # loki service name, so that tests are able to communicate with the loki
107+ # service.
108+ proxy :
109+ http_proxy : " "
110+ https_proxy : " "
111+ no_proxy : " "
You can’t perform that action at this time.
0 commit comments