From 577f945519c55b78be268caa6b780d945f51bf8f Mon Sep 17 00:00:00 2001 From: Sangeetha mani Date: Mon, 9 Nov 2020 00:21:38 -0800 Subject: [PATCH] IssueId: RIC-149 Added liveness and readiness probe to the submgr deployment.yaml file Signed-off-by: Sangeetha mani Change-Id: Ia257ebfcc67f9c47cfe5048e9902559a3020fb01 --- helm/submgr/templates/deployment.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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: -- 2.16.6