From 12454d17d26e9d13532a9af931c67a42ce85dd9f Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Fri, 6 Mar 2020 21:33:24 +0000 Subject: [PATCH] [06.03.20] Probes --- configuration/kubernetes/deployment.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index d132064..2e8ca68 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -64,6 +64,24 @@ spec: ports: - containerPort: 9090 name: RESOURCE_NAME + livenessProbe: + httpGet: + path: /health + port: 9091 + initialDelaySeconds: 30 + periodSeconds: 30 + timeoutSeconds: 1 + successThreshold: 1 + failureThreshold: 1 + readinessProbe: + httpGet: + port: 9091 + path: /readiness + initialDelaySeconds: 30 + periodSeconds: 5 + timeoutSeconds: 1 + successThreshold: 1 + failureThreshold: 1 imagePullPolicy: Always resources: requests: