From: Sangeetha mani Date: Mon, 9 Nov 2020 08:21:38 +0000 (-0800) Subject: IssueId: RIC-149 Added liveness and readiness probe to the submgr deployment.yaml... X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=577f945519c55b78be268caa6b780d945f51bf8f;p=ric-plt%2Fric-dep.git IssueId: RIC-149 Added liveness and readiness probe to the submgr deployment.yaml file Signed-off-by: Sangeetha mani Change-Id: Ia257ebfcc67f9c47cfe5048e9902559a3020fb01 --- diff --git a/helm/submgr/templates/deployment.yaml b/helm/submgr/templates/deployment.yaml index 49db0ee..f9a1398 100644 --- a/helm/submgr/templates/deployment.yaml +++ b/helm/submgr/templates/deployment.yaml @@ -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: