Skip to content

Commit

Permalink
fluentd throttle environment variables added (#239)
Browse files Browse the repository at this point in the history
* fluentd throttle environment variables added

* quotes removed for consistency

* quotes removed for consistency

* quotes fixed for consistency
  • Loading branch information
maximmi authored May 1, 2020
1 parent 1b7f751 commit c21f532
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions releases/fluentd-elasticsearch-aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }}'
Expand Down

0 comments on commit c21f532

Please sign in to comment.