Browse Source

logging: allow fluentd to determine cri-o

Jan Wozniak 7 years ago
parent
commit
fe502d01fb
1 changed files with 6 additions and 0 deletions
  1. 6 0
      roles/openshift_logging_fluentd/templates/2.x/fluentd.j2

+ 6 - 0
roles/openshift_logging_fluentd/templates/2.x/fluentd.j2

@@ -79,6 +79,9 @@ spec:
         - name: dockerdaemoncfg
           mountPath: /etc/docker
           readOnly: true
+        - name: originnodecfg 
+          mountPath: /etc/origin/node
+          readOnly: true
         - name: filebufferstorage
           mountPath: /var/lib/fluentd
 {% if openshift_logging_mux_client_mode is defined and
@@ -234,6 +237,9 @@ spec:
       - name: dockercfg
         hostPath:
           path: /etc/sysconfig/docker
+      - name: originnodecfg 
+        hostPath:
+          path: /etc/origin/node
       - name: dockerdaemoncfg
         hostPath:
           path: /etc/docker