Set time zone
[ta/caas-logging.git] / ansible / roles / fluentd / templates / fluentd-ds.yaml
index 751aaa1..a80cfd6 100644 (file)
@@ -79,6 +79,9 @@ spec:
           - name: FLUENTD_CONF
             value: "fluent.conf"
         volumeMounts:
+        - name: time-mount
+          mountPath: /etc/localtime
+          readOnly: true
         - name: varlog
           mountPath: /var/log
         - name: varlibdockercontainers
@@ -90,6 +93,9 @@ spec:
           mountPath: /etc/fluentd/config.d
       terminationGracePeriodSeconds: 30
       volumes:
+      - name: time-mount
+        hostPath:
+          path: /etc/localtime
       - name: varlog
         hostPath:
           path: /var/log