From: Katri Turunen Date: Tue, 17 Sep 2019 07:45:37 +0000 (+0300) Subject: Add liveness probe X-Git-Tag: 0.0.8~9 X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=151326a8f10a3088d6dc1a7638151deadb168624;p=ric-plt%2Fvespamgr.git Add liveness probe Change-Id: I9c055408f76d49102a0ea14f17f2fd0d1d0a87ab Signed-off-by: Katri Turunen --- diff --git a/README.md b/README.md index dc023a2..96a22cc 100644 --- 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: diff --git a/container-tag.yaml b/container-tag.yaml index ecf26ca..f5eba34 100644 --- a/container-tag.yaml +++ b/container-tag.yaml @@ -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 diff --git a/ves-agent-chart/templates/deployment.yaml b/ves-agent-chart/templates/deployment.yaml index 5f9e0ca..fcd54bb 100644 --- a/ves-agent-chart/templates/deployment.yaml +++ b/ves-agent-chart/templates/deployment.yaml @@ -51,4 +51,10 @@ spec: env: - name: VESMGR_APPMGRDOMAIN value: appmgr-service - + livenessProbe: + httpGet: + path: /supervision + port: 8080 + initialDelaySeconds: 30 + periodSeconds: 60 + timeoutSeconds: 20