[6.03.20] Probing yet yet yet again

This commit is contained in:
andrewso 2020-03-08 15:35:03 +00:00
parent 8f97b5cef1
commit 12858eb148

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: 9090
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 1
readinessProbe:
httpGet:
port: 9090
path: /readiness
initialDelaySeconds: 30
periodSeconds: 5
timeoutSeconds: 1
successThreshold: 1
failureThreshold: 1
# livenessProbe:
# httpGet:
# path: /health
# port: 9090
# initialDelaySeconds: 30
# periodSeconds: 30
# timeoutSeconds: 1
# successThreshold: 1
# failureThreshold: 1
# readinessProbe:
# httpGet:
# port: 9090
# path: /readiness
# initialDelaySeconds: 30
# periodSeconds: 5
# timeoutSeconds: 1
# successThreshold: 1
# failureThreshold: 1
imagePullPolicy: Always
resources:
requests: