submgr initial RMR_SEED_RT and use directly binary in container command 30/3130/7
authorJuha Hyttinen <juha.hyttinen@nokia.com>
Fri, 3 Apr 2020 07:13:44 +0000 (10:13 +0300)
committerJuha Hyttinen <juha.hyttinen@nokia.com>
Wed, 13 May 2020 05:11:16 +0000 (08:11 +0300)
Change-Id: Id2aba8eca8b4d166b7268af4af9c6a71c2859913
Signed-off-by: Juha Hyttinen <juha.hyttinen@nokia.com>
helm/submgr/templates/configmap.yaml
helm/submgr/templates/deployment.yaml
helm/submgr/templates/env.yaml

index a8ee386..92c3f8d 100644 (file)
@@ -27,9 +27,12 @@ data:
       "level": 3
     "rmr":
       "protPort" : "tcp:4560"
-      "maxSize": 2072
+      "maxSize": 8192
       "numWorkers": 1
     "rtmgr":
       "hostAddr": {{ include "common.servicename.rtmgr.http" . | quote }}
       "port"    : {{ include "common.serviceport.rtmgr.http" . }}
       "baseUrl" : "/ric/v1"
+  submgrutartg: |
+      newrt|start
+      newrt|end
index c566073..49db0ee 100644 (file)
@@ -50,7 +50,8 @@ spec:
         - name: {{ include "common.containername.submgr" . }}
           image: {{ include "common.dockerregistry.url" $imagectx }}/{{ .Values.submgr.image.name }}:{{ .Values.submgr.image.tag }}
           imagePullPolicy: {{ include "common.dockerregistry.pullpolicy" $pullpolicyctx }}
-          command: ["/run_submgr.sh"]
+          command: ["/submgr"]
+          args: ["-f", "/cfg/submgr-config.yaml"]
           envFrom:
             - configMapRef:
                 name: {{ include "common.configmapname.submgr" . }}-env
@@ -77,4 +78,6 @@ spec:
               - key: submgrcfg
                 path: submgr-config.yaml
                 mode: 0644
-
+              - key: submgrutartg
+                path: submgr-uta-rtg.rt
+                mode: 0644
index 6dbd565..4d40840 100644 (file)
@@ -21,5 +21,6 @@ metadata:
 data:
   RMR_RTG_SVC: {{ include "common.serviceport.submgr.rmr.route" . | quote }}
   RMR_SRC_ID: {{ include "common.servicename.submgr.rmr" . }}.{{ include "common.namespace.platform" . }}
-  CFGFILE: "/cfg/submgr-config.yaml"
+  CFG_FILE: "/cfg/submgr-config.yaml"
+  RMR_SEED_RT: "/cfg/submgr-uta-rtg.rt"
   SUBMGR_SEED_SN: "1"