Commit 4f44b400 authored by liaozan's avatar liaozan 🏀

Remove unused k8s lifecycle

parent e4eb7dea
......@@ -20,10 +20,10 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: schbrain.deploy
operator: In
values:
- ${NODE_TAG}
- key: schbrain.deploy
operator: In
values:
- ${NODE_TAG}
terminationGracePeriodSeconds: 20
initContainers:
- name: ${APP_NAME}-init
......@@ -46,10 +46,6 @@ spec:
protocol: TCP
- containerPort: 1024
protocol: TCP
lifecycle:
preStop:
exec:
command: [ "curl","-X","POST","http://127.0.0.1:1024/actuator/offline" ]
startupProbe:
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