Add liveness probe 62/962/1
authorKatri Turunen <katri.turunen@nokia.com>
Tue, 17 Sep 2019 07:45:37 +0000 (10:45 +0300)
committerKatri Turunen <katri.turunen@nokia.com>
Tue, 17 Sep 2019 07:52:18 +0000 (10:52 +0300)
Change-Id: I9c055408f76d49102a0ea14f17f2fd0d1d0a87ab
Signed-off-by: Katri Turunen <katri.turunen@nokia.com>
README.md
container-tag.yaml
ves-agent-chart/templates/deployment.yaml

index dc023a2..96a22cc 100644 (file)
--- a/README.md
+++ b/README.md
@@ -68,6 +68,10 @@ The VESPA manager container requires the following environment variables:
 
 * VESMGR_APPMGRDOMAIN - Application manager domain. This is for testing purposes, only. Default: service-ricplt-appmgr-http.ricplt.svc.cluster.local.
 
+# Liveness probe
+
+The VESPA manager replies to liveness HTTP GET at path /supervision.
+
 # Unit Tests
 
 In order to run the VESPA manager unit tests, give the following command:
index ecf26ca..f5eba34 100644 (file)
@@ -1,4 +1,4 @@
 # The Jenkins job uses this string for the tag in the image name
 # for example nexus3.o-ran-sc.org:10004/my-image-name:0.0.1
 ---
-tag: 0.0.1
+tag: 0.0.2
index 5f9e0ca..fcd54bb 100644 (file)
@@ -51,4 +51,10 @@ spec:
           env:
             - name: VESMGR_APPMGRDOMAIN
               value: appmgr-service
-
+          livenessProbe:
+            httpGet:
+              path: /supervision
+              port: 8080
+            initialDelaySeconds: 30
+            periodSeconds: 60
+            timeoutSeconds: 20