From a2c3e97a4f7471ed1e385ad85f5fc1ad68e3edac Mon Sep 17 00:00:00 2001 From: netflash Date: Tue, 26 Jan 2021 22:52:18 +0100 Subject: [PATCH] Add livenessProbe --- deploy/deployment.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/deploy/deployment.yaml b/deploy/deployment.yaml index 79836b7..7a8d6f1 100644 --- a/deploy/deployment.yaml +++ b/deploy/deployment.yaml @@ -37,6 +37,14 @@ spec: port: 8080 initialDelaySeconds: 5 timeoutSeconds: 1 + livenessProbe: + httpGet: + path: /health + port: 8080 + initialDelaySeconds: 30 + periodSeconds: 30 + timeoutSeconds: 10 + failureThreshold: 5 resources: limits: cpu: 200m