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