From: Szekeres, Balazs (Nokia - HU/Budapest) Date: Fri, 17 May 2019 08:12:23 +0000 (+0200) Subject: Set time zone X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcaas-logging.git;a=commitdiff_plain;h=e71a84da5c3165cd788f30c35492d7837663751f Set time zone Fluentd container now uses the host time zone settings. Change-Id: Ieb8cb1fd7cca201d4c9bca418c08840e985278b4 Signed-off-by: Szekeres, Balazs (Nokia - HU/Budapest) --- diff --git a/ansible/roles/fluentd/templates/fluentd-ds.yaml b/ansible/roles/fluentd/templates/fluentd-ds.yaml index 751aaa1..a80cfd6 100644 --- a/ansible/roles/fluentd/templates/fluentd-ds.yaml +++ b/ansible/roles/fluentd/templates/fluentd-ds.yaml @@ -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