提交 51337d8a 作者: 余乾开

refactor(config):启动最快

上级 2c725714
...@@ -4,7 +4,7 @@ metadata: ...@@ -4,7 +4,7 @@ metadata:
name: cms-deployment name: cms-deployment
namespace: default namespace: default
spec: spec:
# minReadySeconds: 240 # minReadySeconds: 240
revisionHistoryLimit: 2 revisionHistoryLimit: 2
replicas: 1 replicas: 1
selector: selector:
...@@ -20,11 +20,11 @@ spec: ...@@ -20,11 +20,11 @@ spec:
- name: cms - name: cms
image: REGISTRY/NAMESPACE/IMAGE:TAG image: REGISTRY/NAMESPACE/IMAGE:TAG
readinessProbe: readinessProbe:
initialDelaySeconds: 480 initialDelaySeconds: 15
periodSeconds: 10 periodSeconds: 5
#timeoutSeconds: 1 #timeoutSeconds: 1
#successThreshold: 1 #successThreshold: 1
failureThreshold: 20 failureThreshold: 10
httpGet: httpGet:
path: /userapp/actuator/health/readiness path: /userapp/actuator/health/readiness
port: cms-port port: cms-port
...@@ -34,10 +34,10 @@ spec: ...@@ -34,10 +34,10 @@ spec:
- name: localtime - name: localtime
mountPath: /etc/localtime mountPath: /etc/localtime
readOnly: true readOnly: true
resources: resources: { }
limits: # limits:
# memory: 1024Mi # memory: 1024Mi
cpu: 100m # cpu: 100m
ports: ports:
- containerPort: 35150 - containerPort: 35150
name: cms-port name: cms-port
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论