aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--templates/aai-deployment.yaml6
-rw-r--r--templates/aai-resources-deployment.yaml6
-rw-r--r--templates/aai-traversal-deployment.yaml6
-rw-r--r--templates/data-router-deployment.yaml6
-rw-r--r--templates/elasticsearch-deployment.yaml6
-rw-r--r--templates/gremlin-deployment.yaml8
-rw-r--r--templates/hbase-deployment.yaml8
-rw-r--r--templates/modelloader-deployment.yaml6
-rw-r--r--templates/search-data-service-deployment.yaml6
-rw-r--r--templates/sparky-be-deployment.yaml6
10 files changed, 64 insertions, 0 deletions
diff --git a/templates/aai-deployment.yaml b/templates/aai-deployment.yaml
index 9b55d4e..dc375cb 100644
--- a/templates/aai-deployment.yaml
+++ b/templates/aai-deployment.yaml
@@ -40,6 +40,9 @@ spec:
image: "{{ .Values.image.aaiProxy }}:{{ .Values.image.aaiProxyVersion}}"
imagePullPolicy: {{ .Values.pullPolicy }}
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /dev/log
name: aai-service-log
- mountPath: /usr/local/etc/haproxy/haproxy.cfg
@@ -53,6 +56,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-service-log
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/haproxy/log/"
diff --git a/templates/aai-resources-deployment.yaml b/templates/aai-resources-deployment.yaml
index 1aff10b..c61bc6f 100644
--- a/templates/aai-resources-deployment.yaml
+++ b/templates/aai-resources-deployment.yaml
@@ -55,6 +55,9 @@ spec:
- name: CHEF_GIT_URL
value: http://gerrit.onap.org/r/aai
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/aai/logroot/
name: aai-resources-logs
- mountPath: /var/chef/aai-data/
@@ -69,6 +72,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-resources-logs
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-resources/logs/"
diff --git a/templates/aai-traversal-deployment.yaml b/templates/aai-traversal-deployment.yaml
index debd1f6..ec387b0 100644
--- a/templates/aai-traversal-deployment.yaml
+++ b/templates/aai-traversal-deployment.yaml
@@ -57,6 +57,9 @@ spec:
- name: CHEF_GIT_URL
value: http://gerrit.onap.org/r/aai
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/aai/logroot/
name: aai-traversal-logs
- mountPath: /var/chef/aai-data/
@@ -71,6 +74,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-traversal-logs
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/aai-traversal/logs/"
diff --git a/templates/data-router-deployment.yaml b/templates/data-router-deployment.yaml
index f823061..4473dcf 100644
--- a/templates/data-router-deployment.yaml
+++ b/templates/data-router-deployment.yaml
@@ -33,6 +33,9 @@ spec:
- name: JAVA_HOME
value: usr/lib/jvm/java-8-openjdk-amd64
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/app/data-router/config/
name: data-router-config
- mountPath: /opt/app/data-router/dynamic/
@@ -47,6 +50,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: data-router-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/data-router/appconfig/"
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"
diff --git a/templates/gremlin-deployment.yaml b/templates/gremlin-deployment.yaml
index d28b286..75b3e92 100644
--- a/templates/gremlin-deployment.yaml
+++ b/templates/gremlin-deployment.yaml
@@ -58,5 +58,13 @@ spec:
port: 8182
initialDelaySeconds: 5
periodSeconds: 10
+ volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
+ volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
diff --git a/templates/hbase-deployment.yaml b/templates/hbase-deployment.yaml
index 98c3882..c261504 100644
--- a/templates/hbase-deployment.yaml
+++ b/templates/hbase-deployment.yaml
@@ -31,5 +31,13 @@ spec:
port: 2181
initialDelaySeconds: 5
periodSeconds: 10
+ volumeMounts:
+ - name: localtime
+ mountPath: /etc/localtime
+ readOnly: true
+ volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
imagePullSecrets:
- name: "{{ .Values.nsPrefix }}-docker-registry-key"
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/"
diff --git a/templates/search-data-service-deployment.yaml b/templates/search-data-service-deployment.yaml
index f2db937..7413275 100644
--- a/templates/search-data-service-deployment.yaml
+++ b/templates/search-data-service-deployment.yaml
@@ -25,6 +25,9 @@ spec:
- name: KEY_MANAGER_PASSWORD
value: OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/app/search-data-service/config/
name: aai-search-data-service-config
- mountPath: /logs/
@@ -37,6 +40,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-search-data-service-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/search-data-service/appconfig/"
diff --git a/templates/sparky-be-deployment.yaml b/templates/sparky-be-deployment.yaml
index 6a8ff93..a17325c 100644
--- a/templates/sparky-be-deployment.yaml
+++ b/templates/sparky-be-deployment.yaml
@@ -25,6 +25,9 @@ spec:
- name: KEY_STORE_PASSWORD
value: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
volumeMounts:
+ - mountPath: /etc/localtime
+ name: localtime
+ readOnly: true
- mountPath: /opt/app/sparky/config/
name: aai-sparky-be-config
- mountPath: /logs/
@@ -37,6 +40,9 @@ spec:
initialDelaySeconds: 5
periodSeconds: 10
volumes:
+ - name: localtime
+ hostPath:
+ path: /etc/localtime
- name: aai-sparky-be-config
hostPath:
path: "/dockerdata-nfs/{{ .Values.nsPrefix }}/aai/sparky-be/appconfig/"