mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-08 20:50:24 +00:00
Add limits to the fluentd buffer size.
This commit is contained in:
@@ -133,6 +133,10 @@
|
||||
host elasticsearch-logging
|
||||
port 9200
|
||||
logstash_format true
|
||||
# Set the chunk limit the same as for fluentd-gcp.
|
||||
buffer_chunk_limit 512K
|
||||
# Cap buffer memory usage to 512KB/chunk * 128 chunks = 65 MB
|
||||
buffer_queue_limit 128
|
||||
flush_interval 5s
|
||||
# Never wait longer than 5 minutes between retries.
|
||||
max_retry_wait 300
|
||||
|
Reference in New Issue
Block a user