Commit e46ac5c8 authored by liaozan's avatar liaozan 🏀

Update k8s-deploy-template.yaml

parent 5e405595
......@@ -43,17 +43,22 @@ spec:
preStop:
exec:
command: [ "curl","-X","POST","http://127.0.0.1:1024/actuator/offline" ]
startupProbe:
httpGet:
scheme: HTTP
path: /actuator/health
port: 1024
failureThreshold: 6
periodSeconds: 10
livenessProbe:
httpGet:
scheme: HTTP
path: /actuator/health/liveness
port: 1024
initialDelaySeconds: 50
periodSeconds: 10
readinessProbe:
httpGet:
scheme: HTTP
path: /actuator/health/readiness
port: 1024
initialDelaySeconds: 50
periodSeconds: 10
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment