Commit 2a65abe4 authored by liaozan's avatar liaozan 🏀

Merge branch 'develop'

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