From c21f532c52ec6f3c8480582b806db0fef2bcdeee Mon Sep 17 00:00:00 2001 From: Maxim Mironenko Date: Thu, 30 Apr 2020 18:53:05 -0700 Subject: [PATCH] fluentd throttle environment variables added (#239) * fluentd throttle environment variables added * quotes removed for consistency * quotes removed for consistency * quotes fixed for consistency --- releases/fluentd-elasticsearch-aws.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/releases/fluentd-elasticsearch-aws.yaml b/releases/fluentd-elasticsearch-aws.yaml index 3a32c9d5..c3e2132b 100644 --- a/releases/fluentd-elasticsearch-aws.yaml +++ b/releases/fluentd-elasticsearch-aws.yaml @@ -66,6 +66,13 @@ releases: FLUENT_ELASTICSEARCH_RECONNECT_ON_ERROR: true FLUENT_ELASTICSEARCH_RELOAD_ON_FAILURE: true FLUENT_ELASTICSEARCH_SSL_VERSION: "TLSv1_2" + FLUENTD_THROTTLE_GROUP_KEY: '{{- env "FLUENTD_THROTTLE_GROUP_KEY" | default "kubernetes.pod_name" }}' + FLUENTD_THROTTLE_GROUP_BUCKET_PERIOD: '{{- env "FLUENTD_THROTTLE_GROUP_BUCKET_PERIOD" | default "600" }}' + FLUENTD_THROTTLE_GROUP_BUCKET_LIMIT: '{{- env "FLUENTD_THROTTLE_GROUP_BUCKET_LIMIT" | default "20000" }}' + FLUENTD_THROTTLE_GROUP_DROP_LOGS: {{- env "FLUENTD_THROTTLE_GROUP_DROP_LOGS" | default "true" }} + FLUENTD_THROTTLE_GROUP_RESET_RATE: '{{- env "FLUENTD_THROTTLE_GROUP_RESET_RATE" | default "33" }}' + FLUENTD_THROTTLE_GROUP_WARNING_DELAY: '{{- env "FLUENTD_THROTTLE_GROUP_WARNING_DELAY" | default "10" }}' + resources: limits: cpu: '{{- env "FLUENTD_ELASTICSEARCH_RESOURCES_LIMIT_CPU" | default "100m" }}'