[4.03.20] Bringing back probes

This commit is contained in:
andrewso 2020-03-05 00:03:09 +00:00
parent 0b3cb408ec
commit 1c3f43570c

View File

@ -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: