From 8fa33d7496af67f20dda18b08569868ff74d64c8 Mon Sep 17 00:00:00 2001
From: Xiang Dai <764524258@qq.com>
Date: Fri, 11 Jan 2019 05:23:58 +0800
Subject: [PATCH] deploy promtail on master node as default (#184)

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

diff --git a/production/helm/values.yaml b/production/helm/values.yaml
index 4628fbef..2a293ed0 100644
--- a/production/helm/values.yaml
+++ b/production/helm/values.yaml
@@ -122,9 +122,12 @@ promtail:
   ## Tolerations for pod assignment
   ## ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
   ##
-  tolerations: []
+  tolerations:
+    - key: node-role.kubernetes.io/master
+      effect: NoSchedule
+
 
   ## Affinity for pod assignment
   ## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
   ##
-  affinity: {}
\ No newline at end of file
+  affinity: {}
-- 
GitLab