Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
fluentbit.fluent.io/enabled: "true"
fluentbit.fluent.io/component: logging
spec:
match: kube.*
match: {{ .Values.fluentbit.filter.containerd.match }}
filters:
- lua:
script:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
fluentbit.fluent.io/enabled: "true"
fluentbit.fluent.io/component: logging
spec:
match: kube.*
match: {{ .Values.fluentbit.filter.kubernetes.match }}
filters:
- kubernetes:
kubeURL: https://kubernetes.default.svc:443
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
fluentbit.fluent.io/enabled: "true"
fluentbit.fluent.io/component: logging
spec:
match: kube.*
match: {{ .Values.fluentbit.filter.multiline.match }}
filters:
- multiline:
keyContent: {{ .Values.fluentbit.filter.multiline.keyContent | quote }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
fluentbit.fluent.io/component: logging
spec:
tail:
tag: kube.*
tag: {{ .Values.fluentbit.input.tail.tag }}
path: {{ .Values.fluentbit.input.tail.path }}
readFromHead: {{ .Values.fluentbit.input.tail.readFromHead }}
{{- if eq .Values.containerRuntime "docker" }}
Expand Down
4 changes: 4 additions & 0 deletions charts/fluent-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ fluentbit:
input:
tail:
enable: true
tag: "kube.*"
refreshIntervalSeconds: 10
memBufLimit: 100MB
bufferMaxSize: ""
Expand Down Expand Up @@ -344,6 +345,7 @@ fluentbit:
multiline:
enable: false
keyContent: log
match: "kube.*"
# emitterMemBufLimit 120 (MB)
emitterMemBufLimit: 120
parsers:
Expand All @@ -356,11 +358,13 @@ fluentbit:
enable: true
labels: false
annotations: false
match: "kube.*"
containerd:
# This is customized lua containerd log format converter, you can refer here:
# https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/templates/fluentbit-clusterfilter-containerd.yaml
# https://github.com/fluent/fluent-operator/blob/master/charts/fluent-operator/templates/fluentbit-containerd-config.yaml
enable: true
match: "kube.*"
systemd:
enable: true

Expand Down