aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-12-06 14:39:02 +0100
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-12-06 14:39:02 +0100
commit29903c3548a8d64088432feee9228bc6ba3d30fc (patch)
treea2dd5bb5baa88146768b1a7ca3a796272e7f88cd
parent8fade99d8fefc0c8d09a6e3df74fe68c70a07458 (diff)
[SDC] Wait for Message Router before start
In some environment, SDC may be able to start before Message Router is up and running and that can lead to weird behavior for SDC-BE. This commit enforces that MR is running before starting SDC-BE. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I73438477afacc2623344c093e7c5e1797f3ec34d
-rw-r--r--kubernetes/sdc/components/sdc-be/templates/deployment.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml
index 2eb1aba21b..5a5fcd6f75 100644
--- a/kubernetes/sdc/components/sdc-be/templates/deployment.yaml
+++ b/kubernetes/sdc/components/sdc-be/templates/deployment.yaml
@@ -31,6 +31,8 @@ spec:
args:
- --container-name
- "sdc-onboarding-be"
+ - --container-name
+ - "message-router"
env:
- name: NAMESPACE
valueFrom: