mirror of https://github.com/milvus-io/milvus.git
[skip e2e]Update etcd health check (#27980)
Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>pull/27274/head
parent
ed4f20b0ed
commit
8bd125b122
|
@ -12,6 +12,8 @@ services:
|
|||
volumes:
|
||||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
|
||||
command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
|
||||
healthcheck:
|
||||
test: ["CMD", "etcdctl", "endpoint", "health"]
|
||||
|
||||
minio:
|
||||
container_name: milvus-minio
|
||||
|
|
|
@ -13,7 +13,7 @@ services:
|
|||
- ${DOCKER_VOLUME_DIRECTORY:-.}/volumes/etcd:/etcd
|
||||
command: etcd -advertise-client-urls=http://127.0.0.1:2379 -listen-client-urls http://0.0.0.0:2379 --data-dir /etcd
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:2379/health"]
|
||||
test: ["CMD", "etcdctl", "endpoint", "health"]
|
||||
interval: 30s
|
||||
timeout: 20s
|
||||
retries: 3
|
||||
|
|
Loading…
Reference in New Issue