[SDC] Wait for Message Router before start 86/126086/1
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 6 Dec 2021 13:39:02 +0000 (14:39 +0100)
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>
Mon, 6 Dec 2021 13:39:02 +0000 (14:39 +0100)
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

kubernetes/sdc/components/sdc-be/templates/deployment.yaml

index 2eb1aba..5a5fcd6 100644 (file)
@@ -31,6 +31,8 @@ spec:
         args:
         - --container-name
         - "sdc-onboarding-be"
+        - --container-name
+        - "message-router"
         env:
         - name: NAMESPACE
           valueFrom: