Commit 071372e2 authored by liaozan's avatar liaozan 🏀

Update k8s-deploy-template.yaml

parent e0bee92e
...@@ -20,11 +20,11 @@ spec: ...@@ -20,11 +20,11 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms: nodeSelectorTerms:
- matchExpressions: - matchExpressions:
- key: alibabacloud.com/nodepool-id - key: schbrain.deploy
operator: In operator: In
values: values:
- ${NODE_POOL_ID} - ${NODE_TAG}
terminationGracePeriodSeconds: 30 terminationGracePeriodSeconds: 20
initContainers: initContainers:
- name: ${APP_NAME}-init - name: ${APP_NAME}-init
image: registry-vpc.cn-hangzhou.aliyuncs.com/acs/busybox image: registry-vpc.cn-hangzhou.aliyuncs.com/acs/busybox
...@@ -55,7 +55,7 @@ spec: ...@@ -55,7 +55,7 @@ spec:
scheme: HTTP scheme: HTTP
path: /actuator/health path: /actuator/health
port: 1024 port: 1024
initialDelaySeconds: 20 initialDelaySeconds: 30
failureThreshold: 4 failureThreshold: 4
periodSeconds: 10 periodSeconds: 10
livenessProbe: livenessProbe:
......
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