diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 70f9b433f305767f0381959d28516cee89dbaca9..f6a9914a6c3c68e00b9e82afd2e71909c2ccef85 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -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