".mvn/git@gitlab.schbrain.com:zhangdongdong/test.git" did not exist on "b173a219f650cae39058b2bb8b4a32a12d0ccee3"
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