From c400bf5e53519cfb2d31f0bd044de27beb4a1a5c 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 --- templates/modelloader-deployment.yaml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'templates/modelloader-deployment.yaml') diff --git a/templates/modelloader-deployment.yaml b/templates/modelloader-deployment.yaml index 5391273..22b7281 100644 --- a/templates/modelloader-deployment.yaml +++ b/templates/modelloader-deployment.yaml @@ -18,6 +18,9 @@ spec: - name: CONFIG_HOME value: /opt/app/model-loader/config/ volumeMounts: + - mountPath: /etc/localtime + name: localtime + readOnly: true - mountPath: /opt/app/model-loader/config/ name: aai-model-loader-config - mountPath: /logs/ @@ -29,6 +32,9 @@ spec: - containerPort: 8080 - containerPort: 8443 volumes: + - name: localtime + hostPath: + path: /etc/localtime - name: aai-model-loader-config hostPath: path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/model-loader/appconfig/" -- cgit 1.2.3-korg