From 885745c0d7cba6f6a981bd27b4c1ccbb76b33b40 Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Thu, 5 Mar 2020 09:58:18 +0000 Subject: [PATCH] [5.03.20] Probies --- configuration/kubernetes/deployment.yaml | 36 ++++++++++++------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index 5feed85..820fbb8 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -64,24 +64,24 @@ spec: ports: - containerPort: 5000 name: RESOURCE_NAME -# livenessProbe: -# httpGet: -# path: /health -# port: 5000 -# initialDelaySeconds: 30 -# periodSeconds: 30 -# timeoutSeconds: 1 -# successThreshold: 1 -# failureThreshold: 1 -# readinessProbe: -# httpGet: -# port: 5000 -# path: /readiness -# initialDelaySeconds: 30 -# periodSeconds: 5 -# timeoutSeconds: 1 -# successThreshold: 1 -# failureThreshold: 1 + livenessProbe: + httpGet: + path: /health + port: 5000 + initialDelaySeconds: 30 + periodSeconds: 30 + timeoutSeconds: 1 + successThreshold: 1 + failureThreshold: 1 + readinessProbe: + httpGet: + port: 5000 + path: /readiness + initialDelaySeconds: 30 + periodSeconds: 5 + timeoutSeconds: 1 + successThreshold: 1 + failureThreshold: 1 imagePullPolicy: Always resources: requests: