From 2b5943db7d6f46715e45d5a35304a9d4a69a1d86 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 8c77f41ceb57..2f5c0dcc463e 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