DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
fluent-bit logoHELM

fluent-bit

Helm chart
Last changed
Request a free trial

Contact our team to test out this Helm chart and related images for free. Please also indicate any other images you would like to evaluate.

Overview
Chart tags
Default values
Chart metadata
Images

Tag:
Compare:

1
# Default values for fluent-bit.
2
3
# kind -- DaemonSet or Deployment
4
kind: DaemonSet
5
# replicaCount -- Only applicable if kind=Deployment
6
replicaCount: 1
7
image:
8
repository: cgr.dev/chainguard-private/fluent-bit
9
# Overrides the image tag whose default is {{ .Chart.AppVersion }}
10
# Set to "-" to not use the default value
11
tag: 5.2.1-r0
12
digest: sha256:0de07732d3ab35c97003cfc2c7d69efde9d6943ab0bb901fcae8fa694dc25f92
13
pullPolicy: IfNotPresent
14
testFramework:
15
enabled: true
16
namespace:
17
image:
18
repository: cgr.dev/chainguard-private/busybox
19
pullPolicy: Always
20
tag: glibc-1.38.0-r4
21
digest: sha256:c9bf20fc544edce1905f6679822ca672c33e89576b8e5483f0da1cfb335b9af0
22
imagePullSecrets: []
23
nameOverride: ""
24
fullnameOverride: ""
25
serviceAccount:
26
create: true
27
annotations: {}
28
name:
29
automountServiceAccountToken:
30
rbac:
31
create: true
32
nodeAccess: false
33
eventsAccess: false
34
# Configure podsecuritypolicy
35
# Ref: https://kubernetes.io/docs/concepts/policy/pod-security-policy/
36
# from Kubernetes 1.25, PSP is deprecated
37
# See: https://kubernetes.io/blog/2022/08/23/kubernetes-v1-25-release/#pod-security-changes
38
# We automatically disable PSP if Kubernetes version is 1.25 or higher
39
podSecurityPolicy:
40
create: false
41
annotations: {}
42
runAsUser:
43
rule: RunAsAny
44
seLinux:
45
# This policy assumes the nodes are using AppArmor rather than SELinux.
46
rule: RunAsAny
47
# OpenShift-specific configuration
48
openShift:
49
enabled: false
50
securityContextConstraints:
51
# Create SCC for Fluent-bit and allow use it
52
create: true
53
name: ""
54
annotations: {}
55
runAsUser:
56
type: RunAsAny
57
seLinuxContext:
58
type: MustRunAs
59
# Use existing SCC in cluster, rather then create new one
60
existingName: ""
61
podSecurityContext: {}
62
# fsGroup: 2000
63
64
hostNetwork: false
65
dnsPolicy: ClusterFirst
66
dnsConfig: {}
67
# nameservers:
68
# - 1.2.3.4
69
# searches:
70
# - ns1.svc.cluster-domain.example
71
# - my.dns.search.suffix
72
# options:
73
# - name: ndots
74
# value: "2"
75
# - name: edns0
76
77
hostAliases: []
78
# - ip: "1.2.3.4"
79
# hostnames:
80
# - "foo.local"
81
# - "bar.local"
82
83
securityContext: {}
84
# capabilities:
85
# drop:
86
# - ALL
87
# readOnlyRootFilesystem: true
88
# runAsNonRoot: true
89
# runAsUser: 1000
90
91
service:
92
type: ClusterIP
93
port: 2020
94
internalTrafficPolicy:
95
loadBalancerClass:
96
loadBalancerSourceRanges: []
97
loadBalancerIP:
98
labels: {}
99
# nodePort: 30020
100
# clusterIP: 172.16.10.1
101
annotations: {}
102
# prometheus.io/path: "/api/v2/metrics/prometheus"
103
# prometheus.io/port: "2020"
104
# prometheus.io/scrape: "true"
105
externalIPs: []
106
# externalIPs:
107
# - 2.2.2.2
108
serviceMonitor:
109
enabled: false
110
# namespace: monitoring
111
# interval: 10s
112
# scrapeTimeout: 10s
113
# selector:
114
# prometheus: my-prometheus
115
# ## metric relabel configs to apply to samples before ingestion.
116
# ##
117
# metricRelabelings:
118
# - sourceLabels: [__meta_kubernetes_service_label_cluster]
119
# targetLabel: cluster
120
# regex: (.*)
121
# replacement: ${1}
122
# action: replace
123
# ## relabel configs to apply to samples after ingestion.
124
# ##
125
# relabelings:
126
# - sourceLabels: [__meta_kubernetes_pod_node_name]
127
# separator: ;
128
# regex: ^(.*)$
129
# targetLabel: nodename
130
# replacement: $1
131
# action: replace
132
# scheme: ""
133
# tlsConfig: {}
134
135
## Bear in mind if you want to collect metrics from a different port
136
## you will need to configure the new ports on the extraPorts property.
137
additionalEndpoints: []
138
# - port: metrics
139
# path: /metrics
140
# interval: 10s
141
# scrapeTimeout: 10s
142
# scheme: ""
143
# tlsConfig: {}
144
# # metric relabel configs to apply to samples before ingestion.
145
# #
146
# metricRelabelings:
147
# - sourceLabels: [__meta_kubernetes_service_label_cluster]
148
# targetLabel: cluster
149
# regex: (.*)
150
# replacement: ${1}
151
# action: replace
152
# # relabel configs to apply to samples after ingestion.
153
# #
154
# relabelings:
155
# - sourceLabels: [__meta_kubernetes_pod_node_name]
156
# separator: ;
157
# regex: ^(.*)$
158
# targetLabel: nodename
159
# replacement: $1
160
# action: replace
161
prometheusRule:
162
enabled: false
163
# namespace: ""
164
# additionalLabels: {}
165
# rules:
166
# - alert: NoOutputBytesProcessed
167
# expr: rate(fluentbit_output_proc_bytes_total[5m]) == 0
168
# annotations:
169
# message: |
170
# Fluent Bit instance {{ $labels.instance }}'s output plugin {{ $labels.name }} has not processed any
171
# bytes for at least 15 minutes.
172
# summary: No Output Bytes Processed
173
# for: 15m
174
# labels:
175
# severity: critical
176
177
dashboards:
178
enabled: false
179
labelKey: grafana_dashboard
180
labelValue: 1
181
annotations: {}
182
namespace: ""
183
deterministicUid: false
184
lifecycle: {}
185
# preStop:
186
# exec:
187
# command: ["/bin/sh", "-c", "sleep 20"]
188
189
livenessProbe:
190
httpGet:
191
path: /
192
port: http
193
readinessProbe:
194
httpGet:
195
path: /api/v2/health
196
port: http
197
resources: {}
198
# limits:
199
# cpu: 100m
200
# memory: 128Mi
201
# requests:
202
# cpu: 100m
203
# memory: 128Mi
204
205
## only available if kind is Deployment
206
ingress:
207
enabled: false
208
ingressClassName: ""
209
annotations: {}
210
# kubernetes.io/ingress.class: nginx
211
# kubernetes.io/tls-acme: "true"
212
hosts: []
213
# - host: fluent-bit.example.tld
214
extraHosts: []
215
# - host: fluent-bit-extra.example.tld
216
## specify extraPort number
217
# port: 5170
218
tls: []
219
# - secretName: fluent-bit-example-tld
220
# hosts:
221
# - fluent-bit.example.tld
222
## only available if kind is Deployment
223
autoscaling:
224
vpa:
225
enabled: false
226
annotations: {}
227
# List of resources that the vertical pod autoscaler can control. Defaults to cpu and memory
228
controlledResources: []
229
# Values that the vertical pod autoscaler can control. Allowed values are RequestsAndLimits and RequestsOnly. Default is RequestsAndLimits.
230
controlledValues:
231
# Define the max allowed resources for the pod
232
maxAllowed: {}
233
# cpu: 200m
234
# memory: 100Mi
235
# Define the min allowed resources for the pod
236
minAllowed: {}
237
# cpu: 200m
238
# memory: 100Mi
239
240
# Name of the VPA recommender that will provide recommendations for vertical scaling.
241
recommender: default
242
updatePolicy:
243
# Specifies whether recommended updates are applied when a Pod is started and whether recommended updates
244
# are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto".
245
updateMode: Auto
246
enabled: false
247
minReplicas: 1
248
maxReplicas: 3
249
targetCPUUtilizationPercentage: 75
250
# targetMemoryUtilizationPercentage: 75
251
## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
252
customRules: []
253
# - type: Pods
254
# pods:
255
# metric:
256
# name: packets-per-second
257
# target:
258
# type: AverageValue
259
# averageValue: 1k
260
## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior
261
behavior: {}
262
# scaleDown:
263
# policies:
264
# - type: Pods
265
# value: 4
266
# periodSeconds: 60
267
# - type: Percent
268
# value: 10
269
# periodSeconds: 60
270
271
## only available if kind is Deployment
272
podDisruptionBudget:
273
enabled: false
274
annotations: {}
275
maxUnavailable: "30%"
276
nodeSelector: {}
277
tolerations: []
278
affinity: {}
279
labels: {}
280
annotations: {}
281
# -- Annotations to be added to the pods; supports `tpl` evaluation.
282
podAnnotations: {}
283
podLabels: {}
284
## How long (in seconds) a pods needs to be stable before progressing the deployment
285
##
286
minReadySeconds:
287
## How long (in seconds) a pod may take to exit (useful with lifecycle hooks to ensure lb deregistration is done)
288
##
289
terminationGracePeriodSeconds:
290
priorityClassName: ""
291
env: []
292
# - name: FOO
293
# value: "bar"
294
295
# The envWithTpl array below has the same usage as "env", but is using the tpl function to support templatable string.
296
# This can be useful when you want to pass dynamic values to the Chart using the helm argument "--set <variable>=<value>"
297
# https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
298
envWithTpl: []
299
# - name: FOO_2
300
# value: "{{ .Values.foo2 }}"
301
#
302
# foo2: bar2
303
304
envFrom: []
305
# This supports either a structured array or a templatable string
306
extraContainers: []
307
# Array mode
308
# extraContainers:
309
# - name: do-something
310
# image: busybox
311
# command: ['do', 'something']
312
313
# String mode
314
# extraContainers: |-
315
# - name: do-something
316
# image: bitnami/kubectl:{{ .Capabilities.KubeVersion.Major }}.{{ .Capabilities.KubeVersion.Minor }}
317
# command: ['kubectl', 'version']
318
flush: 1
319
metricsPort: 2020
320
extraPorts: []
321
# - port: 5170
322
# containerPort: 5170
323
# protocol: TCP
324
# name: tcp
325
# nodePort: 30517
326
327
extraVolumes: []
328
extraVolumeMounts: []
329
updateStrategy: {}
330
# type: RollingUpdate
331
# rollingUpdate:
332
# maxUnavailable: 1
333
334
# Make use of a pre-defined configmap instead of the one templated here
335
existingConfigMap: ""
336
networkPolicy:
337
enabled: false
338
# ingress:
339
# from: []
340
341
# See Lua script configuration example in README.md
342
luaScripts: {}
343
## https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
344
config:
345
service: |
346
[SERVICE]
347
Daemon Off
348
Flush {{ .Values.flush }}
349
Log_Level {{ .Values.logLevel }}
350
Parsers_File /fluent-bit/etc/parsers.conf
351
Parsers_File /fluent-bit/etc/conf/custom_parsers.conf
352
HTTP_Server On
353
HTTP_Listen 0.0.0.0
354
HTTP_Port {{ .Values.metricsPort }}
355
Health_Check On
356
## https://docs.fluentbit.io/manual/pipeline/inputs
357
inputs: |
358
[INPUT]
359
Name tail
360
Path /var/log/containers/*.log
361
multiline.parser docker, cri
362
Tag kube.*
363
Mem_Buf_Limit 5MB
364
Skip_Long_Lines On
365
366
[INPUT]
367
Name systemd
368
Tag host.*
369
Systemd_Filter _SYSTEMD_UNIT=kubelet.service
370
Read_From_Tail On
371
## https://docs.fluentbit.io/manual/pipeline/filters
372
filters: |
373
[FILTER]
374
Name kubernetes
375
Match kube.*
376
Merge_Log On
377
Keep_Log Off
378
K8S-Logging.Parser On
379
K8S-Logging.Exclude On
380
## https://docs.fluentbit.io/manual/pipeline/outputs
381
outputs: |
382
[OUTPUT]
383
Name es
384
Match kube.*
385
Host elasticsearch-master
386
Logstash_Format On
387
Retry_Limit False
388
389
[OUTPUT]
390
Name es
391
Match host.*
392
Host elasticsearch-master
393
Logstash_Format On
394
Logstash_Prefix node
395
Retry_Limit False
396
## https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/upstream-servers
397
## This configuration is deprecated, please use `extraFiles` instead.
398
upstream: {}
399
## https://docs.fluentbit.io/manual/pipeline/parsers
400
customParsers: |
401
[PARSER]
402
Name docker_no_time
403
Format json
404
Time_Keep Off
405
Time_Key time
406
Time_Format %Y-%m-%dT%H:%M:%S.%L
407
# This allows adding more files with arbitrary filenames to /fluent-bit/etc/conf by providing key/value pairs.
408
# The key becomes the filename, the value becomes the file content.
409
extraFiles: {}
410
# upstream.conf: |
411
# [UPSTREAM]
412
# upstream1
413
#
414
# [NODE]
415
# name node-1
416
# host 127.0.0.1
417
# port 43000
418
# example.conf: |
419
# [OUTPUT]
420
# Name example
421
# Match foo.*
422
# Host bar
423
424
# The config volume is mounted by default, either to the existingConfigMap value, or the default of "fluent-bit.fullname"
425
volumeMounts:
426
- name: config
427
mountPath: /fluent-bit/etc/conf
428
daemonSetVolumes:
429
- name: varlog
430
hostPath:
431
path: /var/log
432
- name: varlibdockercontainers
433
hostPath:
434
path: /var/lib/docker/containers
435
- name: etcmachineid
436
hostPath:
437
path: /etc/machine-id
438
type: File
439
daemonSetVolumeMounts:
440
- name: varlog
441
mountPath: /var/log
442
- name: varlibdockercontainers
443
mountPath: /var/lib/docker/containers
444
readOnly: true
445
- name: etcmachineid
446
mountPath: /etc/machine-id
447
readOnly: true
448
command:
449
- /fluent-bit/bin/fluent-bit
450
args:
451
- --workdir=/fluent-bit/etc
452
- --config=/fluent-bit/etc/conf/fluent-bit.conf
453
# This supports either a structured array or a templatable string
454
initContainers: []
455
# Array mode
456
# initContainers:
457
# - name: do-something
458
# image: bitnami/kubectl:1.22
459
# command: ['kubectl', 'version']
460
461
# String mode
462
# initContainers: |-
463
# - name: do-something
464
# image: bitnami/kubectl:{{ .Capabilities.KubeVersion.Major }}.{{ .Capabilities.KubeVersion.Minor }}
465
# command: ['kubectl', 'version']
466
logLevel: info
467
hotReload:
468
enabled: false
469
image:
470
repository: cgr.dev/chainguard-private/configmap-reload
471
tag: 0.15.0-r24
472
digest: sha256:e2500f4457941b878c70e6b9543b39d91e21703979fffee3dd7a3ad7c70a47bb
473
pullPolicy: IfNotPresent
474
resources: {}
475
extraWatchVolumes: []
476
securityContext:
477
privileged: false
478
allowPrivilegeEscalation: false
479
readOnlyRootFilesystem: true
480
runAsNonRoot: true
481
runAsUser: 65532
482
runAsGroup: 65532
483
capabilities:
484
drop:
485
- ALL
486

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.