From 1c3f43570c51d607a33411c535b25ead7e18199f Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Thu, 5 Mar 2020 00:03:09 +0000 Subject: [PATCH] [4.03.20] Bringing back probes --- configuration/kubernetes/deployment.yaml | 38 ++++++++++++------------ 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/configuration/kubernetes/deployment.yaml b/configuration/kubernetes/deployment.yaml index 1299c12..80d3757 100644 --- a/configuration/kubernetes/deployment.yaml +++ b/configuration/kubernetes/deployment.yaml @@ -6,7 +6,7 @@ metadata: name: RESOURCE_NAME namespace: production spec: - replicas: 1 + replicas: 0 selector: matchLabels: app: RESOURCE_NAME @@ -64,24 +64,24 @@ spec: ports: - containerPort: 9090 name: RESOURCE_NAME - livenessProbe: - httpGet: - path: /health - port: 5000 - initialDelaySeconds: 30 - periodSeconds: 30 - timeoutSeconds: 1 - successThreshold: 1 - failureThreshold: 3 - readinessProbe: - httpGet: - port: 5000 - path: /readiness - initialDelaySeconds: 30 - periodSeconds: 5 - timeoutSeconds: 1 - successThreshold: 1 - failureThreshold: 10 +# livenessProbe: +# httpGet: +# path: /health +# port: 5000 +# initialDelaySeconds: 30 +# periodSeconds: 30 +# timeoutSeconds: 1 +# successThreshold: 1 +# failureThreshold: 3 +# readinessProbe: +# httpGet: +# port: 5000 +# path: /readiness +# initialDelaySeconds: 30 +# periodSeconds: 5 +# timeoutSeconds: 1 +# successThreshold: 1 +# failureThreshold: 10 imagePullPolicy: Always resources: requests: