aboutsummaryrefslogtreecommitdiffstats
path: root/templates/elasticsearch-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/elasticsearch-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/elasticsearch-deployment.yaml')
-rw-r--r--templates/elasticsearch-deployment.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/elasticsearch-deployment.yaml b/templates/elasticsearch-deployment.yaml
index 1c2a2ad..1fc92ad 100644
--- a/templates/elasticsearch-deployment.yaml
+++ b/templates/elasticsearch-deployment.yaml
@@ -26,11 +26,17 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
- name: elasticsearch-config
mountPath: /usr/share/elasticsearch/config/elasticsearch.yml
- name: elasticsearch-data
mountPath: /usr/share/elasticsearch/data
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: elasticsearch-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/elasticsearch/config/elasticsearch.yml"