1# Default values for fluent-bit.
3# kind -- DaemonSet or Deployment
5# replicaCount -- Only applicable if kind=Deployment
8 repository: chainreg.biz/chainguard-private/fluent-bit
9 # Overrides the image tag whose default is {{ .Chart.AppVersion }}
10 # Set to "-" to not use the default value
12 digest: sha256:f743e0fb791c386f81597268379265cfe2554a90a669a12c94c0c805e40a1b78
13 pullPolicy: IfNotPresent
18 repository: chainreg.biz/chainguard-private/busybox
21 digest: sha256:1ea938c057099f3db4bf2a6cfc9e2f33b8c7248d33cb528d91cc32a52f03212e
29 automountServiceAccountToken:
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
45 # This policy assumes the nodes are using AppArmor rather than SELinux.
47# OpenShift-specific configuration
50 securityContextConstraints:
51 # Create SCC for Fluent-bit and allow use it
59 # Use existing SCC in cluster, rather then create new one
65dnsPolicy: ClusterFirst
70# - ns1.svc.cluster-domain.example
71# - my.dns.search.suffix
87# readOnlyRootFilesystem: true
94 internalTrafficPolicy:
96 loadBalancerSourceRanges: []
100 # clusterIP: 172.16.10.1
102 # prometheus.io/path: "/api/v1/metrics/prometheus"
103 # prometheus.io/port: "2020"
104 # prometheus.io/scrape: "true"
110 # namespace: monitoring
114 # prometheus: my-prometheus
115 # ## metric relabel configs to apply to samples before ingestion.
118 # - sourceLabels: [__meta_kubernetes_service_label_cluster]
119 # targetLabel: cluster
123 # ## relabel configs to apply to samples after ingestion.
126 # - sourceLabels: [__meta_kubernetes_pod_node_name]
129 # targetLabel: nodename
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: []
144 # # metric relabel configs to apply to samples before ingestion.
147 # - sourceLabels: [__meta_kubernetes_service_label_cluster]
148 # targetLabel: cluster
152 # # relabel configs to apply to samples after ingestion.
155 # - sourceLabels: [__meta_kubernetes_pod_node_name]
158 # targetLabel: nodename
164# additionalLabels: {}
166# - alert: NoOutputBytesProcessed
167# expr: rate(fluentbit_output_proc_bytes_total[5m]) == 0
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
179 labelKey: grafana_dashboard
183 deterministicUid: false
187# command: ["/bin/sh", "-c", "sleep 20"]
205## only available if kind is Deployment
210 # kubernetes.io/ingress.class: nginx
211 # kubernetes.io/tls-acme: "true"
213 # - host: fluent-bit.example.tld
215 # - host: fluent-bit-extra.example.tld
216 ## specify extraPort number
219 # - secretName: fluent-bit-example-tld
221 # - fluent-bit.example.tld
222## only available if kind is Deployment
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.
231 # Define the max allowed resources for the pod
235 # Define the min allowed resources for the pod
241 # Specifies whether recommended updates are applied when a Pod is started and whether recommended updates
242 # are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto".
247 targetCPUUtilizationPercentage: 75
248 # targetMemoryUtilizationPercentage: 75
249 ## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics
254 # name: packets-per-second
258 ## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior
269## only available if kind is Deployment
273 maxUnavailable: "30%"
281## How long (in seconds) a pods needs to be stable before progressing the deployment
284## How long (in seconds) a pod may take to exit (useful with lifecycle hooks to ensure lb deregistration is done)
286terminationGracePeriodSeconds:
292# The envWithTpl array below has the same usage as "env", but is using the tpl function to support templatable string.
293# This can be useful when you want to pass dynamic values to the Chart using the helm argument "--set <variable>=<value>"
294# https://helm.sh/docs/howto/charts_tips_and_tricks/#using-the-tpl-function
297# value: "{{ .Values.foo2 }}"
302# This supports either a structured array or a templatable string
306# - name: do-something
308# command: ['do', 'something']
312# - name: do-something
313# image: bitnami/kubectl:{{ .Capabilities.KubeVersion.Major }}.{{ .Capabilities.KubeVersion.Minor }}
314# command: ['kubectl', 'version']
331# Make use of a pre-defined configmap instead of the one templated here
338# See Lua script configuration example in README.md
340## https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/configuration-file
345 Flush {{ .Values.flush }}
346 Log_Level {{ .Values.logLevel }}
347 Parsers_File /fluent-bit/etc/parsers.conf
348 Parsers_File /fluent-bit/etc/conf/custom_parsers.conf
351 HTTP_Port {{ .Values.metricsPort }}
353 ## https://docs.fluentbit.io/manual/pipeline/inputs
357 Path /var/log/containers/*.log
358 multiline.parser docker, cri
366 Systemd_Filter _SYSTEMD_UNIT=kubelet.service
368 ## https://docs.fluentbit.io/manual/pipeline/filters
375 K8S-Logging.Parser On
376 K8S-Logging.Exclude On
377 ## https://docs.fluentbit.io/manual/pipeline/outputs
382 Host elasticsearch-master
389 Host elasticsearch-master
393 ## https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/classic-mode/upstream-servers
394 ## This configuration is deprecated, please use `extraFiles` instead.
396 ## https://docs.fluentbit.io/manual/pipeline/parsers
403 Time_Format %Y-%m-%dT%H:%M:%S.%L
404 # This allows adding more files with arbitrary filenames to /fluent-bit/etc/conf by providing key/value pairs.
405 # The key becomes the filename, the value becomes the file content.
421# The config volume is mounted by default, either to the existingConfigMap value, or the default of "fluent-bit.fullname"
424 mountPath: /fluent-bit/etc/conf
429 - name: varlibdockercontainers
431 path: /var/lib/docker/containers
434 path: /etc/machine-id
436daemonSetVolumeMounts:
439 - name: varlibdockercontainers
440 mountPath: /var/lib/docker/containers
443 mountPath: /etc/machine-id
446 - /fluent-bit/bin/fluent-bit
448 - --workdir=/fluent-bit/etc
449 - --config=/fluent-bit/etc/conf/fluent-bit.conf
450# This supports either a structured array or a templatable string
454# - name: do-something
455# image: bitnami/kubectl:1.22
456# command: ['kubectl', 'version']
460# - name: do-something
461# image: bitnami/kubectl:{{ .Capabilities.KubeVersion.Major }}.{{ .Capabilities.KubeVersion.Minor }}
462# command: ['kubectl', 'version']
467 repository: chainreg.biz/chainguard-private/configmap-reload
469 digest: sha256:2cc6bde30af92f402fcd5626e8f042640b55ba745d54f45a2ab8549fe383685e
470 pullPolicy: IfNotPresent
472 extraWatchVolumes: []
475 allowPrivilegeEscalation: false
476 readOnlyRootFilesystem: true