From 8b3bc5a611778dd0bcd5aee794f062f385774797 Mon Sep 17 00:00:00 2001 From: yuryn Date: Wed, 13 Sep 2017 19:21:03 +0300 Subject: Containers time zone sync Make sure time zones on the containers are in sync with the hosting machines Change-Id: Ie22608bda63cbcdf564f73adcdd3e829afad05ca Issue-ID: OOM-299 Signed-off-by: yuryn --- kubernetes/message-router/templates/message-router-dmaap.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kubernetes/message-router/templates/message-router-dmaap.yaml') diff --git a/kubernetes/message-router/templates/message-router-dmaap.yaml b/kubernetes/message-router/templates/message-router-dmaap.yaml index 59c57f85f6..1cc79c819e 100644 --- a/kubernetes/message-router/templates/message-router-dmaap.yaml +++ b/kubernetes/message-router/templates/message-router-dmaap.yaml @@ -54,6 +54,9 @@ spec: initialDelaySeconds: 5 periodSeconds: 10 volumeMounts: + - mountPath: /etc/localtime + name: localtime + readOnly: true - mountPath: /appl/dmaapMR1/bundleconfig/etc/appprops/MsgRtrApi.properties name: appprops - mountPath: /appl/dmaapMR1/etc/cadi.properties @@ -62,6 +65,9 @@ spec: name: mykey restartPolicy: Always volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: appprops hostPath: path: /dockerdata-nfs/{{ .Values.nsPrefix }}/message-router/dmaap/MsgRtrApi.properties -- cgit 1.2.3-korg