fix: minor performance tuning for logging pipeline

This commit is contained in:
Stefan Reimer 2021-05-13 16:21:16 +02:00
parent 018bca4958
commit 21c9176cb7
3 changed files with 5 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.6.4 version: 0.6.5
appVersion: 1.4.1 appVersion: 1.4.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

@ -24,7 +24,7 @@ spec:
{{- if .processors }} {{- if .processors }}
node.processors: {{ .processors }} node.processors: {{ .processors }}
{{- end }} {{- end }}
indices.memory.index_buffer_size: "30%" indices.memory.index_buffer_size: "20%"
podTemplate: podTemplate:
{{- if $.Values.es.s3Snapshot.iamrole }} {{- if $.Values.es.s3Snapshot.iamrole }}
metadata: metadata:

View File

@ -181,8 +181,9 @@ fluentd:
logstash_format true logstash_format true
reconnect_on_error true reconnect_on_error true
reload_on_failure true reload_on_failure true
request_timeout 60s request_timeout 120s
suppress_type_name true suppress_type_name true
bulk_message_request_threshold 2097152
<buffer tag> <buffer tag>
@type file_single @type file_single
@ -190,7 +191,7 @@ fluentd:
chunk_limit_size 8MB chunk_limit_size 8MB
total_limit_size 4GB total_limit_size 4GB
flush_mode interval flush_mode interval
flush_thread_count 2 flush_thread_count 8
flush_interval 10s flush_interval 10s
flush_at_shutdown true flush_at_shutdown true
retry_type exponential_backoff retry_type exponential_backoff