-
Notifications
You must be signed in to change notification settings - Fork 0
/
values-fluentbit.yaml
88 lines (78 loc) · 1.92 KB
/
values-fluentbit.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
#env:
# - name: AIRFLOW
# value: "airflow"
image:
repository: cr.fluentbit.io/fluent/fluent-bit
# Overrides the image tag whose default is {{ .Chart.AppVersion }}
# Set to "-" to not use the default value
tag: 2.0.8-debug
digest:
pullPolicy: Always
securityContext:
privileged: true
daemonSetVolumes:
- name: var
hostPath:
path: /var
# - name: varlogpods
# hostPath:
# path: /var/log/pods/
# type: DirectoryOrCreate
# - name: varlibdockercontainers
# hostPath:
# path: /var/lib/docker/containers
- name: etcmachineid
hostPath:
path: /etc/machine-id
type: File
daemonSetVolumeMounts:
- name: var
mountPath: /var
readOnly: true
# - name: varlogpods
# mountPath: /var/log/pods/
# readOnly: true
# - name: varlibdockercontainers
# mountPath: /var/lib/docker/containers
# readOnly: true
- name: etcmachineid
mountPath: /etc/machine-id
readOnly: true
config:
service: |
[SERVICE]
Daemon Off
Flush {{ .Values.flush }}
Log_Level {{ .Values.logLevel }}
Parsers_File parsers.conf
Parsers_File custom_parsers.conf
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port {{ .Values.metricsPort }}
Health_Check On
## https://docs.fluentbit.io/manual/pipeline/inputs
inputs: |
[INPUT]
Name tail
Path /var/log/containers/*.log
multiline.parser docker, cri
Tag kube.*
Mem_Buf_Limit 5MB
Skip_Long_Lines On
## https://docs.fluentbit.io/manual/pipeline/filters
filters: |
[FILTER]
Name kubernetes
Match kube.*
Merge_Log On
Keep_Log Off
K8S-Logging.Parser On
K8S-Logging.Exclude On
## https://docs.fluentbit.io/manual/pipeline/outputs
outputs: |
[OUTPUT]
Name http
Match kube.*
Host logstash.elastic.svc.cluster.local
Port 5555
Format json