diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 48790160934750176cf8380af2b32251bd8422cd..be74cfba38d5e6afd208f39b6516ba1f57054412 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -20,11 +20,11 @@ spec: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - - key: alibabacloud.com/nodepool-id + - key: schbrain.deploy operator: In values: - - ${NODE_POOL_ID} - terminationGracePeriodSeconds: 30 + - ${NODE_TAG} + terminationGracePeriodSeconds: 20 initContainers: - name: ${APP_NAME}-init image: registry-vpc.cn-hangzhou.aliyuncs.com/acs/busybox @@ -55,7 +55,7 @@ spec: scheme: HTTP path: /actuator/health port: 1024 - initialDelaySeconds: 20 + initialDelaySeconds: 30 failureThreshold: 4 periodSeconds: 10 livenessProbe: