Commit 2a65abe4 authored by liaozan's avatar liaozan 🏀

Merge branch 'develop'

parents ae2111c0 24be59ee
......@@ -15,11 +15,25 @@ spec:
labels:
app: ${APP_NAME}
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: alibabacloud.com/nodepool-id
operator: In
values:
- ${NODE_POOL_ID}
terminationGracePeriodSeconds: 30
containers:
- name: ${APP_NAME}
image: ${IMAGE}
imagePullPolicy: Always
resources:
requests:
memory: ${MEMORY_LIMIT}
limits:
memory: ${MEMORY_LIMIT}
ports:
- containerPort: ${PORT}
protocol: TCP
......@@ -34,12 +48,12 @@ spec:
scheme: HTTP
path: /actuator/health/liveness
port: 1024
initialDelaySeconds: 30
initialDelaySeconds: 50
periodSeconds: 10
readinessProbe:
httpGet:
scheme: HTTP
path: /actuator/health/readiness
port: 1024
initialDelaySeconds: 30
initialDelaySeconds: 50
periodSeconds: 10
\ No newline at end of file
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