[22.02.20] Actuator

This commit is contained in:
andyjk15 2020-02-22 01:19:02 +00:00
parent 5f850f7a3a
commit c7235e5836

View File

@ -6,7 +6,7 @@ metadata:
name: RESOURCE_NAME name: RESOURCE_NAME
namespace: default namespace: default
spec: spec:
replicas: 2 replicas: 0
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: 30
periodSeconds: 30 # periodSeconds: 30
timeoutSeconds: 1 # timeoutSeconds: 1
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: 30
periodSeconds: 5 # periodSeconds: 5
timeoutSeconds: 1 # timeoutSeconds: 1
successThreshold: 1 # successThreshold: 1
failureThreshold: 10 # failureThreshold: 10
imagePullPolicy: Always imagePullPolicy: Always
resources: resources:
requests: requests: