-
Notifications
You must be signed in to change notification settings - Fork 328
Expand file tree
/
Copy pathvalues.yaml
More file actions
716 lines (690 loc) · 25.6 KB
/
Copy pathvalues.yaml
File metadata and controls
716 lines (690 loc) · 25.6 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
# Default values for fluent-operator.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# -- Container runtime used by your Kubernetes cluster. Supported values: containerd, crio, docker
containerRuntime: containerd
# -- Deploy default Fluent Bit pipeline to collect Kubernetes logs. See https://github.com/fluent/fluent-operator/tree/master/manifests/logging-stack
Kubernetes: true
# -- Fluent Operator configuration
operator:
image:
# -- Fluent Operator image registry
registry: ghcr.io
# -- Fluent Operator image repository
repository: fluent/fluent-operator/fluent-operator
# -- Fluent Operator image tag (immutable tags are recommended). Overrides the image tag whose default is the chart appVersion
# @default -- Chart appVersion
tag: ""
# -- Enable Fluent Operator deployment. Set to false to disable creation of ClusterRole, ClusterRoleBinding, Deployment, and ServiceAccount
enable: true
# -- Node selector for Fluent Operator pods
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
nodeSelector: {}
# -- Affinity for Fluent Operator pods
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity: {}
# -- Tolerations for Fluent Operator pods
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
tolerations: []
# -- Priority class name for Fluent Operator pods
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
priorityClassName: ""
# -- Pod security context for Fluent Operator
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext:
runAsNonRoot: true
runAsUser: 65532
runAsGroup: 65532
fsGroup: 65532
seccompProfile:
type: RuntimeDefault
rbac:
# -- Specifies whether to create the ClusterRole and ClusterRoleBinding
create: true
clusterRole:
# -- ClusterRole name
name: fluent-operator
clusterRoleBinding:
# -- ClusterRoleBinding name
name: fluent-operator
# -- Additional RBAC rules for Fluent Operator ClusterRole. Operator cannot give permissions it does not have
additionalRules: []
# -- Container security context for Fluent Operator container
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
securityContext:
runAsNonRoot: true
runAsUser: 65532
runAsGroup: 65532
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop:
- ALL
seccompProfile:
type: RuntimeDefault
# -- Liveness probe for Fluent Operator
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe:
httpGet:
path: /healthz
port: 8081
initialDelaySeconds: 15
periodSeconds: 20
timeoutSeconds: 5
failureThreshold: 3
# -- Readiness probe for Fluent Operator
readinessProbe:
httpGet:
path: /readyz
port: 8081
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
# -- Fluent Operator resource requests and limits
resources:
limits:
cpu: 100m
memory: 60Mi
requests:
cpu: 100m
memory: 20Mi
# -- Annotations to add to Fluent Operator pods
annotations: {}
# -- Image pull secrets for Fluent Operator
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# - name: "image-pull-secret"
# -- Labels to add to Fluent Operator pods
labels: {}
# myExampleLabel: someValue
# -- Disable specific component controllers. Value can be "fluent-bit" or "fluentd" to disable that controller
disableComponentControllers: ""
# -- Comma separated list of namespaces the operator should watch and manage resources in. When set, the
# operator scopes its cache and creates namespaced Roles/RoleBindings (instead of cluster-wide) for the
# agents it manages, allowing the operator's own RBAC to be reduced. Defaults to cluster scope when empty.
watchNamespaces: ""
# -- Extra arguments for the Fluent Operator controller
extraArgs:
[]
# - --watch-namespaces=logging
service:
# -- Enable Fluent Operator service
enable: true
# -- Service type
type: ClusterIP
# -- Service port name
portName: metrics
# -- Service port
port: 8080
# -- Annotations for Fluent Operator service
annotations: {}
# -- Labels for Fluent Operator service
labels: {}
serviceMonitor:
# -- Enable Prometheus ServiceMonitor for Fluent Operator
enable: false
# -- Scrape interval
interval: 30s
# -- Metrics path
path: /metrics
# -- Scrape timeout
scrapeTimeout: 10s
# -- Use HTTPS for scraping
secure: false
# -- TLS configuration for ServiceMonitor
tlsConfig: {}
# -- Relabeling configs for ServiceMonitor
relabelings: []
# -- Metric relabeling configs for ServiceMonitor
metricRelabelings: []
serviceAccount:
# -- ServiceAccount name for Fluent Operator
name: fluent-operator
# -- Fluent Bit configuration
fluentbit:
# -- Enable Fluent Bit deployment
enable: true
# -- Override the namespace for FluentBit resources; defaults to .Release.Namespace
namespaceOverride: ""
metadata:
# -- Allow adding custom annotations to the FluentBit resource's metadata
annotations: {}
serviceMonitor:
# -- Enable Prometheus ServiceMonitor for Fluent Bit
enable: false
# -- Scrape interval
interval: 30s
# -- Metrics path
path: /api/v2/metrics/prometheus
# -- Scrape timeout
scrapeTimeout: 10s
# -- Use HTTPS for scraping
secure: false
# -- TLS configuration for ServiceMonitor
tlsConfig: {}
# -- Relabeling configs for ServiceMonitor
relabelings: []
# -- Metric relabeling configs for ServiceMonitor
metricRelabelings: []
livenessProbe:
# -- Enable liveness probe
enabled: true
httpGet:
port: 2020
path: /
# -- Initial delay before liveness probe starts
initialDelaySeconds: 10
# -- Period between liveness probes
periodSeconds: 10
# -- Timeout for liveness probe
timeoutSeconds: 15
# -- Success threshold for liveness probe
successThreshold: 1
# -- Failure threshold for liveness probe
failureThreshold: 8
image:
# -- Fluent Bit image registry
registry: ghcr.io
# -- Fluent Bit image repository
repository: fluent/fluent-operator/fluent-bit
# -- Fluent Bit image tag
# renovate: datasource=docker depName=ghcr.io/fluent/fluent-operator/fluent-bit
tag: "5.0.7"
# -- Fluent Bit resource requests and limits. You can adjust it based on the log volume.
# If you do want to specify resources, adjust them as necessary
resources:
limits:
cpu: 500m
memory: 200Mi
requests:
cpu: 10m
memory: 25Mi
# -- Annotations to add to each Fluent Bit pod
# Request to Fluent Bit to exclude or not the logs generated by the Pod: `fluentbit.io/exclude: "true"`
# Prometheus can use this tag to automatically discover the Pod and collect monitoring data: `prometheus.io/scrape: "true"`
annotations:
{}
## Request to Fluent Bit to exclude or not the logs generated by the Pod.
# fluentbit.io/exclude: "true"
## Prometheus can use this tag to automatically discover the Pod and collect monitoring data
# prometheus.io/scrape: "true"
# -- Additional custom labels for Fluent Bit pods
labels: {}
# -- Additional custom annotations for Fluent Bit ServiceAccount
serviceAccountAnnotations: {}
# -- Specify storage for position db. You will use it if tail input is enabled.
# Ref: https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.31/#volumesource-v1-core
positionDB:
hostPath:
path: /var/lib/fluent-bit/
# -- Image pull secrets for Fluent Bit
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# - name: "image-pull-secret"
# -- Log level for Fluent Bit
logLevel: ""
# -- Secrets to mount in Fluent Bit pods
secrets: []
# -- Use host network for Fluent Bit DaemonSet
hostNetwork: false
# -- Additional ports for Fluent Bit
ports: []
# - containerPort: 514
# name: syslog-tcp
# protocol: TCP
# -- Pod security context for Fluent Bit pods
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext: {}
# -- Security context for Fluent Bit container
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
securityContext: {}
# -- Additional volumes that can be mounted by containers belonging to the pod
additionalVolumes: []
# -- Additional RBAC rules which will be applied to the Fluent Bit ClusterRole
# NOTE: As fluent-bit is managed by the fluent-operator, fluent-bit can only be granted permissions the operator also has
# Ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#rolebinding-and-clusterrolebinding
rbacRules: {}
# -- Additional volume mounts to mount into the container's filesystem
additionalVolumesMounts: []
# -- Affinity configuration for Fluent Bit pods
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: node-role.kubernetes.io/edge
operator: DoesNotExist
# -- Init containers for Fluent Bit pods
# Ref: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
initContainers: []
# -- Node selector for Fluent Bit pods
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
nodeSelector: {}
# -- Node tolerations for Fluent Bit pods
# Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
tolerations:
- operator: Exists
# -- Priority class for Fluent Bit pods
# Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass
priorityClassName: ""
# -- Custom command for Fluent Bit containers
command: []
# -- Custom command line arguments for Fluent Bit containers
args: []
# -- Environment variables that can be passed to Fluent Bit pods
envVars: []
# - name: FOO
# value: "bar"
# -- Scheduler name for Fluent Bit pods
schedulerName: ""
# Remove the above empty volumes and volumesMounts, and then set additionalVolumes and additionalVolumesMounts as below if you want to collect node exporter metrics
# additionalVolumes:
# - name: hostProc
# hostPath:
# path: /proc/
# - name: hostSys
# hostPath:
# path: /sys/
# Uncomment the code if you intend to create the volume for buffer storage in case the storage type "filesystem" is being used in the configuration of the fluentbit service.
# - name: hostBuffer
# hostPath:
# path: /tmp/fluent-bit-buffer
# additionalVolumesMounts:
# - mountPath: /host/sys
# mountPropagation: HostToContainer
# name: hostSys
# readOnly: true
# - mountPath: /host/proc
# mountPropagation: HostToContainer
# name: hostProc
# readOnly: true
# Uncomment the code if you intend to mount the volume for buffer storage in case the storage type "filesystem" is being used in the configuration of the fluentbit service.
# - mountPath: /host/fluent-bit-buffer
# mountPropagation: HostToContainer
# name: hostBuffer
# -- Namespace selector for Fluent Bit configuration
namespaceFluentBitCfgSelector: {}
# -- Configure the format of the config file to either classic or yaml. Default to classic when this value is not set
# configFileFormat: yaml
# Set a limit of memory that Tail plugin can use when appending data to the Engine.
# You can find more details here: https://docs.fluentbit.io/manual/pipeline/inputs/tail#config
# If the limit is reach, it will be paused; when the data is flushed it resumes.
# if the inbound traffic is less than 2.4Mbps, setting memBufLimit to 5MB is enough
# if the inbound traffic is less than 4.0Mbps, setting memBufLimit to 10MB is enough
# if the inbound traffic is less than 13.64Mbps, setting memBufLimit to 50MB is enough
input:
tail:
# -- Enable tail input
enable: true
# -- Refresh interval for tail input in seconds
refreshIntervalSeconds: 10
# -- Memory buffer limit for tail input
memBufLimit: 100MB
# -- Buffer max size for tail input
bufferMaxSize: ""
# -- Buffer chunk size for tail input
bufferChunkSize: ""
# -- Path to container logs
path: "/var/log/containers/*.log"
# -- Skip long lines in logs
skipLongLines: true
# -- Skip empty lines in logs
skipEmptyLines: true
# -- Read from head of log file
readFromHead: false
# -- Storage type for tail input buffering. Use "filesystem" for persistent buffering.
storageType: memory
# -- Pause input when chunks overlimit
pauseOnChunksOverlimit: "off"
# -- Multiline parser for tail input
# multilineParser: "docker, cri"
systemd:
# -- Enable systemd input
enable: true
systemdFilter:
# -- Enable systemd filter
enable: true
# -- Systemd unit filters
filters: []
# -- Path to systemd journal
path: "/var/log/journal"
# -- Include kubelet logs from systemd
includeKubelet: true
# -- Strip underscores from systemd field names
stripUnderscores: "off"
# -- Storage type for systemd input buffering. Use "filesystem" for persistent buffering.
storageType: memory
# -- Pause input when chunks overlimit
pauseOnChunksOverlimit: "off"
# -- Node exporter metrics input configuration
nodeExporterMetrics: {}
# uncomment below nodeExporterMetrics section if you want to collect node exporter metrics
# nodeExporterMetrics:
# tag: node_metrics
# scrapeInterval: 15s
# path:
# procfs: /host/proc
# sysfs: /host/sys
# -- Fluent Bit metrics input configuration
fluentBitMetrics: {}
# uncomment below fluentBitMetrics section if you want to collect fluentBit metrics
# fluentBitMetrics:
# scrapeInterval: "2"
# scrapeOnStart: true
# tag: "fb.metrics"
# Configure the output plugin parameter in FluentBit.
# You can set enable to true to output logs to the specified location.
output:
# You can find more supported output plugins here: https://github.com/fluent/fluent-operator/tree/master/docs/plugins/fluentbit/output
es:
# -- Enable Elasticsearch output
enable: false
# -- Elasticsearch host
host: "<Elasticsearch url like elasticsearch-logging-data.kubesphere-logging-system.svc>"
# -- Elasticsearch port
port: 9200
# -- Logstash prefix for Elasticsearch indices
logstashPrefix: ks-logstash-log
# -- Buffer size for Elasticsearch output
bufferSize: 20MB
# -- Trace errors in Elasticsearch output
traceError: true
# logstashPrefixKey: ks-logstash-log
# suppressTypeName: "On"
# path: ""
# index: "fluent-bit"
# httpUser:
# valueFrom:
# secretKeyRef:
# key: value
# name: husersecret
# httpPassword:
# valueFrom:
# secretKeyRef:
# key: value
# name: hpasssecret
# logstashFormat: true
# replaceDots: false
# writeOperation: upsert
# tls:
# enable: false
# verify: On
# debug: 1
# caFile: "<Absolute path to CA certificate file>"
# caPath: "<Absolute path to scan for certificate files>"
# crtFile: "<Absolute path to private Key file>"
# keyFile: "<Absolute path to private Key file>"
# keyPassword:
# vhost: "<Hostname to be used for TLS SNI extension>"
kafka:
# -- Enable Kafka output
enable: false
# -- Log level for Kafka output
logLevel: info
# -- Kafka broker list
brokers: "<kafka broker list like xxx.xxx.xxx.xxx:9092,yyy.yyy.yyy.yyy:9092>"
# -- Kafka topics
topics: ks-log
# -- OpenTelemetry output configuration
opentelemetry: {}
# You can configure the opentelemetry-related configuration here
# -- OpenSearch output configuration
opensearch: {}
# You can configure the opensearch-related configuration here
stdout:
# -- Enable stdout output
enable: false
# -- Prometheus metrics exporter configuration
# Uncomment the following section to enable Prometheus metrics exporter.
prometheusMetricsExporter: {}
# prometheusMetricsExporter:
# match: "fb.metrics"
# metricsExporter:
# host: "0.0.0.0"
# port: 2020
# addLabels:
# app: "fluentbit"
# Loki fluentbit ClusterOutput, to be encapsulated in fluentbit config
# See https://github.com/fluent/fluent-operator/blob/master/docs/plugins/fluentbit/output/loki.md
# See https://docs.fluentbit.io/manual/pipeline/outputs/loki
loki:
# -- Enable Loki output
enable: false
# -- Retry limit for Loki output
retryLimit: "no_limits"
# -- Log level for Loki output
logLevel: "info"
# -- Loki host
host: 127.0.0.1
# -- Loki port
port: 3100
# Either, give http{User,Password},tenantID string values specifying them directly
# -- HTTP basic auth username for Loki
httpUser: myuser
# -- HTTP basic auth password for Loki
httpPassword: mypass
# -- Tenant ID for Loki
tenantID: ""
# Or give {http{User,Password},tenantID} as reference to secrets that you have manually installed into your kubernetes cluster
# httpUser:
# valueFrom:
# secretKeyRef:
# key: value
# name: husersecret
# optional: true
# httpPassword:
# valueFrom:
# secretKeyRef:
# key: value
# name: hpasssecret
# optional: true
# tenantID:
# valueFrom:
# secretKeyRef:
# key: value
# name: tenantsecret
# optional: true
#
# To use bearer token auth instead of http basic auth
# bearerToken: ey....
# or with existing secret
# bearerToken:
# valueFrom:
# secretKeyRef:
# key: value
# name: bearerTokenSecret
# optional: true
# labels: [] # String list of <name>=<value>
# labelKeys: [] # String list of <key>
# removeKeys: [] # String list of <key>
# labelMapPath: '' # String, path to file, ex /here/it/is
# dropSingleKey: off
# lineFormat: '' # String
# autoKubernetesLabels: on
# tenantIDKey: # String
# tls: {} # *plugins.TLS fluentbit docs
# -- Stackdriver output configuration
stackdriver: {}
# You can configure the stackdriver configuration here
service:
# Scheduler configuration for retry wait times (supported in Fluent Bit >= 1.8.7)
# -- Scheduler base for exponential backoff (seconds)
# schedulerBase: 5
# -- Scheduler cap for maximum retry time (seconds)
# schedulerCap: 2000
# -- Storage configuration for Fluent Bit buffering
storage: {}
# Remove the above storage section and uncomment below section if you want to configure file-system as storage for buffer
# storage:
# path: "/host/fluent-bit-buffer/"
# backlogMemLimit: "50MB"
# checksum: "off"
# deleteIrrecoverableChunks: "on"
# maxChunksUp: 128
# metrics: "on"
# sync: normal
# Configure the default filters in FluentBit.
# The `filter` will filter and parse the collected log information and output the logs into a uniform format. You can choose whether to turn this on or not.
filter:
multiline:
# -- Enable multiline filter
enable: false
# -- Key content field for multiline filter
keyContent: log
# -- Buffer for multiline filter
buffer: false
# -- Emitter memory buffer limit in MB
emitterMemBufLimit: 120
# -- Emitter type for multiline filter
emitterType: memory
# -- Flush interval in milliseconds
flushMs: 2000
# -- Mode can be either "parser" or "partial_message"
# mode: parser
# -- Name for the emitter input instance which re-emits the completed records at the beginning of the pipeline
# emitterName: my-emitter
# -- Multiline parsers to use
parsers:
- go
- python
- java
# use custom multiline parser need set .Values.parsers.javaMultiline.enable = true
# - java-multiline
kubernetes:
# -- Enable Kubernetes metadata filter
enable: true
# -- Include Kubernetes labels in logs
labels: false
# -- Include Kubernetes annotations in logs
annotations: false
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 containerd log format converter filter
enable: true
systemd:
# -- Enable systemd filter
enable: true
kubeedge:
# -- Enable KubeEdge integration for Fluent Bit
enable: false
prometheusRemoteWrite:
# -- Host of a cloud-side Prometheus-compatible server that can receive Prometheus remote write data
host: "<cloud-prometheus-service-host>"
# -- Port of a cloud-side Prometheus-compatible server that can receive Prometheus remote write data
port: "<cloud-prometheus-service-port>"
# -- Removes the hostPath mounts for varlibcontainers, varlogs and systemd
disableLogVolumes: false
parsers:
javaMultiline:
# -- Enable Java multiline parser for generic springboot multiline log format
enable: false
# -- Using namespaceClusterFbCfg, deploy fluent-bit configmap and secret in this namespace.
# If it is not defined, it is in the namespace of the fluent-operator.
namespaceClusterFbCfg: ""
# -- Fluentd configuration
fluentd:
# -- Enable Fluentd deployment
enable: false
# -- Fluentd name
name: fluentd
# -- Fluentd deployment mode. Valid values: "collector" (StatefulSet) or "agent" (DaemonSet)
mode: "collector"
# -- Fluentd port
port: 24224
image:
# -- Fluentd image registry
registry: ghcr.io
# -- Fluentd image repository
repository: fluent/fluent-operator/fluentd
# renovate: datasource=docker depName=ghcr.io/fluent/fluent-operator/fluentd
# -- Fluentd image tag
tag: v1.19.2
# -- Number of Fluentd replicas
# Applicable when the mode is "collector", and will be ignored when the mode is "agent"
replicas: 1
forward:
# -- Forward input port
port: 24224
# -- Retain metadata when forwarding in forward mode.
# Set to false for Fluentd compatibility with Fluent Bit v5.0.5+.
retainMetadataInForwardMode: ~
# -- Namespaces to watch for Fluentd resources
watchedNamespaces:
- kube-system
- default
# -- Fluentd resource requests and limits
resources:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 100m
memory: 128Mi
# -- Scheduler name for Fluentd pods
schedulerName: ""
# -- Environment variables that can be passed to Fluentd pods
envVars: []
# - name: FOO
# value: "bar"
# -- Image pull secrets for Fluentd
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
# -- Pod security context for Fluentd pod
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
podSecurityContext: {}
# -- Container security context for Fluentd container
# Ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
securityContext: {}
# -- Image pull secrets for Fluentd
imagePullSecrets: []
# - name: "image-pull-secret"
# -- Log level for Fluentd
logLevel: ""
# -- Priority class name for Fluentd pods
priorityClassName: ""
# -- Extra configuration for Fluentd
extras: {}
# Configure the output plugin parameter in Fluentd.
# Fluentd is disabled by default, if you enable it make sure to also set up an output to use.
output:
es:
# -- Enable Elasticsearch output for Fluentd
enable: false
# -- Elasticsearch host
host: elasticsearch-logging-data.kubesphere-logging-system.svc
# -- Elasticsearch port
port: 9200
# -- Logstash prefix for Elasticsearch indices
logstashPrefix: ks-logstash-log
buffer:
# -- Enable buffer for Elasticsearch output
enable: false
# -- Buffer type
type: file
# -- Buffer path
path: /buffers/es
kafka:
# -- Enable Kafka output for Fluentd
enable: false
# -- Kafka broker list
brokers: "my-cluster-kafka-bootstrap.default.svc:9091,my-cluster-kafka-bootstrap.default.svc:9092,my-cluster-kafka-bootstrap.default.svc:9093"
# -- Kafka topic key
topicKey: kubernetes_ns
buffer:
# -- Enable buffer for Kafka output
enable: false
# -- Buffer type
type: file
# -- Buffer path
path: /buffers/kafka
# -- OpenSearch output configuration for Fluentd
opensearch: {}
# -- Override name of the chart
nameOverride: ""
# -- Override full name of the chart
fullnameOverride: ""
# -- Override namespace where resources are deployed
namespaceOverride: ""