Merge "Add healthcheck script for etcd"
This commit is contained in:
commit
d51ed4962a
5
healthcheck/etcd
Normal file
5
healthcheck/etcd
Normal file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
export ETCDCTL_API=3
|
||||
etcdctl endpoint health | grep "is healthy"
|
||||
exit $?
|
Loading…
Reference in New Issue
Block a user