[22.02.20] Probe config testing

This commit is contained in:
andyjk15 2020-02-22 09:36:10 +00:00
parent c7235e5836
commit 47e359b23d

View File

@ -6,7 +6,7 @@ metadata:
name: RESOURCE_NAME
namespace: default
spec:
replicas: 0
replicas: 2
selector:
matchLabels:
app: RESOURCE_NAME
@ -54,26 +54,26 @@ spec:
ports:
- containerPort: 9090
name: RESOURCE_NAME
# livenessProbe:
# httpGet:
# path: /actuator/health
# port: 9090
# scheme: HTTP
# initialDelaySeconds: 30
# periodSeconds: 30
# timeoutSeconds: 1
# successThreshold: 1
# failureThreshold: 3
# readinessProbe:
# httpGet:
# port: 9090
# path: /actuator/health
# scheme: HTTP
# initialDelaySeconds: 30
# periodSeconds: 5
# timeoutSeconds: 1
# successThreshold: 1
# failureThreshold: 10
livenessProbe:
httpGet:
path: /actuator/health
port: 9090
scheme: HTTP
initialDelaySeconds: 100
periodSeconds: 30
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 3
readinessProbe:
httpGet:
port: 9090
path: /actuator/health
scheme: HTTP
initialDelaySeconds: 60
periodSeconds: 5
timeoutSeconds: 2
successThreshold: 1
failureThreshold: 10
imagePullPolicy: Always
resources:
requests: