Commit 074e1a1b authored by liaozan's avatar liaozan 🏀

feat: add preStop probe to graceful shutdown+1

parent f4b903d9
......@@ -27,10 +27,8 @@ spec:
protocol: TCP
lifecycle:
preStop:
httpGet:
scheme: HTTP
path: /actuator/offline
port: 1024
exec:
command: [ "curl","http://127.0.0.1:1024/actuator/offline" ]
livenessProbe:
httpGet:
scheme: HTTP
......
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