Parcourir la source

logging: allow fluentd to determine cri-o

Jan Wozniak il y a 7 ans
Parent
commit
fe502d01fb
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  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