Fluentd tuning

This commit is contained in:
Stefan Reimer 2020-10-01 10:11:48 -07:00
parent fad0597302
commit ea2391a212
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: kubezero-logging name: kubezero-logging
description: KubeZero Umbrella Chart for complete EFK stack description: KubeZero Umbrella Chart for complete EFK stack
type: application type: application
version: 0.3.7 version: 0.3.8
appVersion: 1.2.1 appVersion: 1.2.1
home: https://kubezero.com home: https://kubezero.com
icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png

View File

@ -108,6 +108,7 @@ fluentd:
port 24224 port 24224
bind 0.0.0.0 bind 0.0.0.0
skip_invalid_event true skip_invalid_event true
send_keepalive_packet true
<transport tls> <transport tls>
cert_path /mnt/fluentd-certs/tls.crt cert_path /mnt/fluentd-certs/tls.crt
private_key_path /mnt/fluentd-certs/tls.key private_key_path /mnt/fluentd-certs/tls.key
@ -145,8 +146,8 @@ fluentd:
request_timeout 15s request_timeout 15s
suppress_type_name true suppress_type_name true
<buffer> <buffer tag>
@type file @type file_single
path /var/log/fluentd-buffers/kubernetes.system.buffer path /var/log/fluentd-buffers/kubernetes.system.buffer
flush_mode interval flush_mode interval
flush_thread_count 2 flush_thread_count 2
@ -154,7 +155,6 @@ fluentd:
flush_at_shutdown true flush_at_shutdown true
retry_type exponential_backoff retry_type exponential_backoff
retry_timeout 60m retry_timeout 60m
chunk_limit_size 16M
overflow_action drop_oldest_chunk overflow_action drop_oldest_chunk
</buffer> </buffer>
</match> </match>