RMR Message Type configurable and added liveness/readiness check for rtmgr
[ric-plt/ric-dep.git] / helm / rtmgr / templates / deployment.yaml
index 4dbb5d3..7854a89 100644 (file)
@@ -68,6 +68,21 @@ spec:
               containerPort: {{ include "common.serviceport.rtmgr.rmr.route" . }}
             - name: "rmrdata"
               containerPort: {{ include "common.serviceport.rtmgr.rmr.data" . }}
+
+          livenessProbe:
+            httpGet:
+              path: ric/v1/health/alive
+              port: 8080
+            initialDelaySeconds: 5
+            periodSeconds: 15
+
+          readinessProbe:
+            httpGet:
+              path: ric/v1/health/ready
+              port: 8080
+            initialDelaySeconds: 5
+            periodSeconds: 15
+    
       volumes:
         - name: "rtmgrcfg"
           configMap: