Merge "IssueId: RIC-149 Added liveness and readiness probe to the submgr deployment...
authorPrabhu K <prabhu.k@nokia.com>
Wed, 18 Nov 2020 13:36:41 +0000 (13:36 +0000)
committerGerrit Code Review <gerrit@o-ran-sc.org>
Wed, 18 Nov 2020 13:36:41 +0000 (13:36 +0000)
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: