fix fluentd template

This commit is contained in:
Lukasz Piatkowski 2018-01-05 15:18:22 +00:00
parent fd04c14260
commit 12eb242224

View file

@ -39,8 +39,8 @@ spec:
volumeMounts: volumeMounts:
- name: varlog - name: varlog
mountPath: /var/log mountPath: /var/log
- name: varlibdockercontainers - name: dockercontainers
mountPath: /var/lib/docker/containers mountPath: "{{ docker_daemon_graph }}/containers"
readOnly: true readOnly: true
- name: config - name: config
mountPath: "{{ fluentd_config_dir }}" mountPath: "{{ fluentd_config_dir }}"
@ -49,9 +49,9 @@ spec:
- name: varlog - name: varlog
hostPath: hostPath:
path: /var/log path: /var/log
- name: varlibdockercontainers - name: dockercontainers
hostPath: hostPath:
path: /var/lib/docker/containers path: {{ docker_daemon_graph }}/containers
- name: config - name: config
configMap: configMap:
name: fluentd-config name: fluentd-config