Commit 074e1a1b authored by liaozan's avatar liaozan 🏀

feat: add preStop probe to graceful shutdown+1

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