Commit 4f44b400 authored by liaozan's avatar liaozan 🏀

Remove unused k8s lifecycle

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