summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-10-04 05:06:35 +0000
committerVenkata Harish K Kajur <vk250x@att.com>2017-10-04 05:59:49 +0000
commit3078f1e10032385fcc267f353713dc5146d5c995 (patch)
tree037a5e61458461ca8a17efa9e2d88c0dcfefdc23 /templates
parentdbd77f6aeba97f5d068dc55533dc2c06dc4f6f7c (diff)
Remove the root user id to use default user
Change the way kubernetes install to ensure that the user is not root as all of the aai scripts expect the user to be non root and this affects some key functionality and also add an hbase artificial delay of 60 seconds to ensure that resources container waits the appropriate amount of time before trying to connect to hbase the current implementation of the probe doesn't work too well since when port is up doesn't truly tell whether the hbase container is ready Issue-ID: OOM-334 Change-Id: I290feabb56a9e7f99d538b02bf6f563824eb198e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/aai-resources-deployment.yaml4
-rw-r--r--templates/aai-traversal-deployment.yaml2
2 files changed, 2 insertions, 4 deletions
diff --git a/templates/aai-resources-deployment.yaml b/templates/aai-resources-deployment.yaml
index 6c78ca8..cb9fe51 100644
--- a/templates/aai-resources-deployment.yaml
+++ b/templates/aai-resources-deployment.yaml
@@ -54,8 +54,8 @@ spec:
value: /var/chef/aai-data/environments
- name: CHEF_GIT_URL
value: http://gerrit.onap.org/r/aai
- - name: LOCAL_USER_ID
- value: "0"
+ - name: HBASE_STARTUP_ARTIFICIAL_DELAY
+ value: "60"
volumeMounts:
- mountPath: /etc/localtime
name: localtime
diff --git a/templates/aai-traversal-deployment.yaml b/templates/aai-traversal-deployment.yaml
index a566080..88cf2b1 100644
--- a/templates/aai-traversal-deployment.yaml
+++ b/templates/aai-traversal-deployment.yaml
@@ -58,8 +58,6 @@ spec:
value: http://gerrit.onap.org/r/aai
- name: RESOURCES_HOSTNAME
value: aai-resources.{{ .Values.nsPrefix }}-aai
- - name: LOCAL_USER_ID
- value: "0"
volumeMounts:
- mountPath: /etc/localtime
name: localtime