aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes
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-07 14:50:30 +0000
commitd2e406257ada4176317ed5803b300b9f61b59d9a (patch)
treeafc37f27b4d9057c0aaab8cbaa0acea9bcde5327 /kubernetes
parent865cde019d04f0d470c4a3064c5a0c619c25636b (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 (cherry picked from commit 29903c3548a8d64088432feee9228bc6ba3d30fc)
Diffstat (limited to 'kubernetes')
-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 d731a56c5c..b744de3985 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: