add missing field in fluentd

This commit is contained in:
Arnaud Meukam 2018-05-13 21:39:27 +02:00
parent 65f14f636d
commit c75da43f22

View file

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