summaryrefslogtreecommitdiffstats
path: root/templates/modelloader-deployment.yaml
diff options
context:
space:
mode:
authoryuryn <Yury.Novitsky@Amdocs.com>2017-09-13 19:21:03 +0300
committerYury Novitsky <Yury.Novitsky@Amdocs.com>2017-09-14 15:17:08 +0000
commitc400bf5e53519cfb2d31f0bd044de27beb4a1a5c (patch)
tree5cc1070c109a3cdce5229978180a604187b2eee0 /templates/modelloader-deployment.yaml
parentf0a4cc12135cd77696b26bfdc2bc8b19e8e82f4f (diff)
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 <Yury.Novitsky@Amdocs.com>
Diffstat (limited to 'templates/modelloader-deployment.yaml')
-rw-r--r--templates/modelloader-deployment.yaml6
1 files changed, 6 insertions, 0 deletions
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/"