IssueId: RIC-149 Added liveness and readiness probe to the submgr deployment.yaml...
[ric-plt/ric-dep.git] / helm / submgr / templates / deployment.yaml
index 49db0ee..f9a1398 100644 (file)
@@ -70,6 +70,19 @@ spec:
           volumeMounts:
             - name: config-volume
               mountPath: /cfg
+          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: config-volume
           configMap: