c2d2f93d99
This patch adds script for docker health check of etcd service. The script uses etcdctl control tool to check enpoint health. Change-Id: Idd759abc454b17f3798900c5bab9ef68899610d7
6 lines
86 B
Bash
6 lines
86 B
Bash
#!/bin/bash
|
|
|
|
export ETCDCTL_API=3
|
|
etcdctl endpoint health | grep "is healthy"
|
|
exit $?
|