Commit 3a00ee8c authored by 智勇's avatar 智勇

Merge branch 'mq-check-health' into 'master'

mq的健康检查



See merge request !41
parents 85cf0373 36bfcfd9
......@@ -55,11 +55,20 @@ spec:
value: qa
- name: RABBITMQ_DEFAULT_PASS
value: qatest
# 数据持久化
readinessProbe:
exec:
command:
- /opt/readyCheck.sh
initialDelaySeconds: 30
timeoutSeconds: 2
periodSeconds: 5
successThreshold: 1
failureThreshold: 40
# 数据持久化
volumeMounts:
- name: {{serviceName}}
mountPath: "/var/lib/rabbitmq"
volumes:
- name: {{serviceName}}
persistentVolumeClaim:
......
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