From 61ac492b63f77b36234018acef37df7883a5c3a6 Mon Sep 17 00:00:00 2001 From: Pratap Mridha Date: Tue, 5 Mar 2024 19:29:31 +0530 Subject: [PATCH] add livenessProbe for uni-resolver-web (#411) --- .../app-specs/deployment-uni-resolver-web.yaml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/ci/deploy-k8s-aws/app-specs/deployment-uni-resolver-web.yaml b/ci/deploy-k8s-aws/app-specs/deployment-uni-resolver-web.yaml index 21c54c57e..8e4d3537d 100644 --- a/ci/deploy-k8s-aws/app-specs/deployment-uni-resolver-web.yaml +++ b/ci/deploy-k8s-aws/app-specs/deployment-uni-resolver-web.yaml @@ -17,11 +17,18 @@ spec: app: uni-resolver-web spec: containers: - - name: uni-resolver-web - image: universalresolver/uni-resolver-web - imagePullPolicy: Always - ports: - - containerPort: 8080 + - name: uni-resolver-web + image: universalresolver/uni-resolver-web + imagePullPolicy: Always + ports: + - containerPort: 8080 + livenessProbe: + httpGet: + path: "/1.0/methods" + port: 8080 + initialDelaySeconds: 30 + periodSeconds: 10 + timeoutSeconds: 5 --- apiVersion: v1 kind: Service