Browse Source

Merge pull request #9379 from richm/logging-detect-crio

Bug 1610224 - Unable to find container log in Elasticsearch when using cri-o
OpenShift Merge Robot 6 years ago
parent
commit
6ec6503a59
1 changed files with 6 additions and 0 deletions
  1. 6 0
      roles/openshift_logging_fluentd/templates/fluentd.j2

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

@@ -83,6 +83,9 @@ spec:
         - name: dockercfg
           mountPath: /etc/sysconfig/docker
           readOnly: true
+        - name: originnodecfg
+          mountPath: /etc/origin/node
+          readOnly: true
         - name: dockerdaemoncfg
           mountPath: /etc/docker
           readOnly: true
@@ -241,6 +244,9 @@ spec:
       - name: dockercfg
         hostPath:
           path: /etc/sysconfig/docker
+      - name: originnodecfg
+        hostPath:
+          path: /etc/origin/node
       - name: dockerdaemoncfg
         hostPath:
           path: /etc/docker