tripleo-common/healthcheck/etcd

6 lines
86 B
Bash
Executable File

#!/bin/bash
export ETCDCTL_API=3
etcdctl endpoint health | grep "is healthy"
exit $?