Commit b9c8cd2b authored by 智勇's avatar 智勇

增加livenessProbe

parent 3097ae2a
......@@ -65,15 +65,22 @@ spec:
limits:
cpu: {{resources.cpu.limit}}m
memory: {{resources.memory.limit}}Mi
livenessProbe:
exec:
command:
- /home/quant_group/readyCheck.sh
initialDelaySeconds: 200
successThreshold: 1
# 默认值3
failureThreshold: 40
readinessProbe:
exec:
command:
- /home/quant_group/readyCheck.sh
initialDelaySeconds: 30
timeoutSeconds: 2
periodSeconds: 5
successThreshold: 1
failureThreshold: 40
# 默认值10
periodSeconds: 10
volumes:
- name: filelog
hostPath:
......
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