Skip to content

Commit eeab410

Browse files
CharlieR-o-o-tcw-Guo
authored andcommitted
helm: changes to ClusterOutput loki,kafka. ClusterInput tail
Signed-off-by: Siarhei Rasiukevich <[email protected]>
1 parent c9d8bdf commit eeab410

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

charts/fluent-operator/templates/fluentbit-clusterinput-tail.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ spec:
3232
bufferChunkSize: {{ . | quote }}
3333
{{- end }}
3434
skipLongLines: {{ .Values.fluentbit.input.tail.skipLongLines }}
35+
skipEmptyLines: {{ .Values.fluentbit.input.tail.skipEmptyLines }}
36+
{{- if .Values.fluentbit.input.tail.ignoredOlder }}
37+
ignoredOlder: {{ .Values.fluentbit.input.tail.ignoredOlder }}
38+
{{- end }}
3539
db: /fluent-bit/tail/pos.db
3640
dbSync: Normal
3741
storageType: {{ .Values.fluentbit.input.tail.storageType }}

charts/fluent-operator/templates/fluentbit-output-kafka.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ metadata:
1010
fluentbit.fluent.io/enabled: "true"
1111
fluentbit.fluent.io/component: logging
1212
spec:
13+
logLevel: "{{ .logLevel }}"
1314
matchRegex: (?:kube|service)\.(.*)
1415
kafka:
1516
brokers: {{ .brokers | quote }}

charts/fluent-operator/templates/fluentbit-output-loki.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ metadata:
3636
spec:
3737
matchRegex: (?:kube|service)\.(.*)
3838
retry_limit: "{{ .retryLimit }}"
39+
logLevel: "{{ .logLevel }}"
3940
loki:
4041
{{- with .host }}
4142
host: {{ . | quote }}

charts/fluent-operator/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ fluentbit:
231231
bufferChunkSize: ""
232232
path: "/var/log/containers/*.log"
233233
skipLongLines: true
234+
skipEmptyLines: true
234235
readFromHead: false
235236
# Use storageType as "filesystem" if you want to use filesystem as the buffering mechanism for tail input.
236237
storageType: memory
@@ -296,6 +297,7 @@ fluentbit:
296297
# vhost: "<Hostname to be used for TLS SNI extension>"
297298
kafka:
298299
enable: false
300+
logLevel: info
299301
brokers: "<kafka broker list like xxx.xxx.xxx.xxx:9092,yyy.yyy.yyy.yyy:9092>"
300302
topics: ks-log
301303
opentelemetry: {}
@@ -321,6 +323,7 @@ fluentbit:
321323
# Switch for generation of fluentbit loki ClusterOutput (and loki basic auth http user and pass secrets if required)
322324
enable: false # Bool
323325
retryLimit: "no_limits"
326+
logLevel: "info"
324327
host: 127.0.0.1 # String
325328
port: 3100 # Int
326329
# Either, give http{User,Password},tenantID string values specifying them directly

0 commit comments

Comments
 (0)