summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/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
commit6aaabe01fdba0240d423116aee4bb5fd8c426572 (patch)
treebfd8eed6df0e01241e89b39fb7a2c5dcb8f9f67d /kubernetes/aai/templates
parent63f2cc936ed6e6790f287195694f6d067decdd89 (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 'kubernetes/aai/templates')
-rw-r--r--kubernetes/aai/templates/aai-resources-deployment.yaml4
-rw-r--r--kubernetes/aai/templates/aai-traversal-deployment.yaml2
2 files changed, 2 insertions, 4 deletions
diff --git a/kubernetes/aai/templates/aai-resources-deployment.yaml b/kubernetes/aai/templates/aai-resources-deployment.yaml
index 6c78ca8798..cb9fe5173b 100644
--- a/kubernetes/aai/templates/aai-resources-deployment.yaml
+++ b/kubernetes/aai/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/kubernetes/aai/templates/aai-traversal-deployment.yaml b/kubernetes/aai/templates/aai-traversal-deployment.yaml
index a56608009a..88cf2b1ae6 100644
--- a/kubernetes/aai/templates/aai-traversal-deployment.yaml
+++ b/kubernetes/aai/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