From: Ferenc Tóth Date: Fri, 16 Aug 2019 02:09:31 +0000 (+0200) Subject: Remove fluentd buffering X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=1cc31ac6b179a58bade40f71e40799fd95d27d2f;p=ta%2Fcaas-install.git Remove fluentd buffering If output buffering is used, fluentd tends to send out the log entries multiple times. Signed-off-by: Ferenc Tóth Change-Id: I00ec3713fc1698de7e391092a7934a9797f48d48 --- diff --git a/SPECS/infra-charts.spec b/SPECS/infra-charts.spec index bd6ce64..db86251 100644 --- a/SPECS/infra-charts.spec +++ b/SPECS/infra-charts.spec @@ -15,7 +15,7 @@ %define COMPONENT infra-charts %define RPM_NAME caas-%{COMPONENT} %define RPM_MAJOR_VERSION 1.0.0 -%define RPM_MINOR_VERSION 20 +%define RPM_MINOR_VERSION 21 Name: %{RPM_NAME} Version: %{RPM_MAJOR_VERSION} diff --git a/infra-charts/templates/fluentd-configmap.yaml b/infra-charts/templates/fluentd-configmap.yaml index d3addd1..a583612 100644 --- a/infra-charts/templates/fluentd-configmap.yaml +++ b/infra-charts/templates/fluentd-configmap.yaml @@ -36,7 +36,6 @@ limitations under the License. @type elasticsearch @log_level info - include_tag_key true {{- end }} {{- define "es_end.part" }} ssl_verify true @@ -44,12 +43,6 @@ limitations under the License. logstash_format true reconnect_on_error true resurrect_after 5s - - chunk_limit_size 256m - flush_at_shutdown true - flush_interval 5s - flush_thread_count 2 - {{- end }} {{- define "remote_syslog.part" }} @@ -63,10 +56,6 @@ limitations under the License. port 1025 protocol tcp {{- end }} - - chunk_limit_size 256m - flush_at_shutdown "true" - {{- end }} ---