Merge "Add healthcheck script for etcd"

This commit is contained in:
Zuul 2018-02-24 03:21:13 +00:00 committed by Gerrit Code Review
commit d51ed4962a

5
healthcheck/etcd Normal file
View File

@ -0,0 +1,5 @@
#!/bin/bash
export ETCDCTL_API=3
etcdctl endpoint health | grep "is healthy"
exit $?