From 6aaabe01fdba0240d423116aee4bb5fd8c426572 Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Wed, 4 Oct 2017 05:06:35 +0000 Subject: 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 --- kubernetes/aai/templates/aai-resources-deployment.yaml | 4 ++-- kubernetes/aai/templates/aai-traversal-deployment.yaml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'kubernetes') 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 -- cgit 1.2.3-korg