From 319eb807e5aba3b3d8254c4486153923046dded9 Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Thu, 9 Jul 2020 14:39:08 +0100 Subject: [PATCH] [09.07.20] Bringing back probes --- configuration/kubernetes/deployment.yaml | 40 ++++++++++++------------ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index 26b9b4e..b1ce8e0 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -56,26 +56,26 @@ spec: ports: - containerPort: 9090 name: RESOURCE_NAME -# livenessProbe: -# httpGet: -# path: /actuator/health -# port: 9090 -# scheme: HTTP -# initialDelaySeconds: 240 -# periodSeconds: 60 -# timeoutSeconds: 2 -# successThreshold: 1 -# failureThreshold: 3 -# readinessProbe: -# httpGet: -# port: 9090 -# path: /actuator/info -# scheme: HTTP -# initialDelaySeconds: 280 -# periodSeconds: 30 -# timeoutSeconds: 2 -# successThreshold: 1 -# failureThreshold: 10 + livenessProbe: + httpGet: + path: /actuator/health + port: 9090 + scheme: HTTP + initialDelaySeconds: 260 + periodSeconds: 60 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 3 + readinessProbe: + httpGet: + port: 9090 + path: /actuator/info + scheme: HTTP + initialDelaySeconds: 280 + periodSeconds: 30 + timeoutSeconds: 2 + successThreshold: 1 + failureThreshold: 10 imagePullPolicy: Always resources: requests: