From e506f16030e38156641aecaa2ab1de63dc6883e2 Mon Sep 17 00:00:00 2001
From: Xiang Dai <764524258@qq.com>
Date: Fri, 26 Apr 2019 23:16:12 +0800
Subject: [PATCH] Add target config (#486)

* Add target config

Support costomize target config.

Signed-off-by: Xiang Dai <764524258@qq.com>

* Update default value

Signed-off-by: Xiang Dai <764524258@qq.com>

* bump helm version

Signed-off-by: Xiang Dai <764524258@qq.com>
---
 production/helm/promtail/values.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/production/helm/promtail/values.yaml b/production/helm/promtail/values.yaml
index 8c77f41c..2f5c0dcc 100644
--- a/production/helm/promtail/values.yaml
+++ b/production/helm/promtail/values.yaml
@@ -120,6 +120,9 @@ config:
     http_listen_port: 3101
   positions:
     filename: /run/promtail/positions.yaml
+  target_config:
+    # Period to resync directories being watched and files being tailed
+    sync_period: 10s
   scrape_configs:
   - entry_parser: '{{ .Values.entryParser }}'
     job_name: kubernetes-pods-name
-- 
GitLab