From d9143f8179809a4ea70bc2f6456de1cea1462bfa Mon Sep 17 00:00:00 2001 From: "Tobik, Balint" Date: Mon, 1 Jul 2019 08:35:00 +0200 Subject: [PATCH] set refresh_interval Signed-off-by: Tobik, Balint Change-Id: I569bb660589c7f2b309cbd3ad60dcbf92f426e68 --- SPECS/infra-charts.spec | 2 +- infra-charts/templates/fluentd-configmap.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/SPECS/infra-charts.spec b/SPECS/infra-charts.spec index 8226574..8ff0562 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 10 +%define RPM_MINOR_VERSION 11 Name: %{RPM_NAME} Version: %{RPM_MAJOR_VERSION} diff --git a/infra-charts/templates/fluentd-configmap.yaml b/infra-charts/templates/fluentd-configmap.yaml index 29894e3..313748c 100644 --- a/infra-charts/templates/fluentd-configmap.yaml +++ b/infra-charts/templates/fluentd-configmap.yaml @@ -96,6 +96,7 @@ data: path /var/log/containers/*_{{ . }}_*.log pos_file /var/lib/fluentd/fluentd-{{ . }}.log.pos time_format %Y-%m-%dT%H:%M:%S.%NZ + refresh_interval 10 tag kubernetes.* format json read_from_head true @@ -122,6 +123,7 @@ data: path /var/log/containers/*_{{ $element.namespace }}-{{ $index }}_*.log pos_file /var/lib/fluentd/fluentd-{{ $element.namespace }}-{{ $index }}.log.pos time_format %Y-%m-%dT%H:%M:%S.%NZ + refresh_interval 10 tag kubernetes.* format json read_from_head true -- 2.16.6