add missing field in fluentd

pull/2763/head
Arnaud Meukam 2018-05-13 21:39:27 +02:00
parent 65f14f636d
commit c75da43f22
1 changed files with 9 additions and 4 deletions

View File

@ -11,16 +11,21 @@ metadata:
version: "{{ fluentd_version }}"
addonmanager.kubernetes.io/mode: Reconcile
spec:
selector:
matchLabels:
k8s-app: fluentd-es
version: "{{ fluentd_version }}"
template:
metadata:
labels:
k8s-app: fluentd-es
kubernetes.io/cluster-service: "true"
version: "{{ fluentd_version }}"
spec:
tolerations:
- effect: NoSchedule
operator: Exists
# This annotation ensures that fluentd does not get evicted if the node
# supports critical pod annotation based priority scheme.
# Note that this does not guarantee admission on the nodes (#40573).
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
containers:
- name: fluentd-es
image: "{{ fluentd_image_repo }}:{{ fluentd_image_tag }}"