Add toleration to fluentd daemonset to make it run on master

This commit is contained in:
Mik Vyatskov 2017-02-15 18:11:45 +01:00
parent 5802799e56
commit cbba60cc7d
2 changed files with 5 additions and 3 deletions

View File

@ -19,6 +19,7 @@ spec:
# Note that this does not guarantee admission on the nodes (#40573).
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
scheduler.alpha.kubernetes.io/tolerations: '[{"key": "node.alpha.kubernetes.io/ismaster", "effect": "NoSchedule"}]'
spec:
containers:
- name: fluentd-es

View File

@ -20,6 +20,7 @@ spec:
# Note that this does not guarantee admission on the nodes (#40573).
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
scheduler.alpha.kubernetes.io/tolerations: '[{"key": "node.alpha.kubernetes.io/ismaster", "effect": "NoSchedule"}]'
spec:
containers:
- name: fluentd-gcp