Enable healthcheck script in clustercheck service
The clustercheck container uses the same container image as the mysql service. That image already contains a healthcheck script that can monitor either mysql or clustercheck. So we can enable healthcheck in the clustercheck service as well. Change-Id: I36602a20822b5544e8c1cd2aa0d8ae4a84de1c6e Closes-Bug: #1856085
This commit is contained in:
parent
7e09780284
commit
5f1db96f96
@ -81,6 +81,8 @@ outputs:
|
|||||||
image: {get_param: ContainerClustercheckImage}
|
image: {get_param: ContainerClustercheckImage}
|
||||||
restart: always
|
restart: always
|
||||||
net: host
|
net: host
|
||||||
|
healthcheck:
|
||||||
|
test: /openstack/healthcheck
|
||||||
volumes:
|
volumes:
|
||||||
list_concat:
|
list_concat:
|
||||||
- {get_attr: [ContainersCommon, volumes]}
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
|
Loading…
Reference in New Issue
Block a user