We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
etcdctl may be used for simple monitoring to check etcd cluster's health. However, as of now etcdctl endpoint health returns 0 for a dead endpoint.
etcdctl endpoint health
$ etcdctl endpoint health 127.0.0.1:2379 is unhealthy: failed to connect: dial tcp 127.0.0.1:2379: getsockopt: connection refused $ echo $? 0
Expected exit statuses of etcdctl endpoint health command:
0
$ etcdctl version etcdctl version: 3.2.4 API version: 3.2
The text was updated successfully, but these errors were encountered:
@koorgoo This is a bug. Would you like to help us fix it?
Sorry, something went wrong.
@xiang90 Yeah! With pleasure!
No branches or pull requests
etcdctl may be used for simple monitoring to check etcd cluster's health.
However, as of now
etcdctl endpoint health
returns 0 for a dead endpoint.Expected exit statuses of
etcdctl endpoint health
command:0
- endpoint is healthy0
- endpoint is unhealthy0
- all endpoints are healthy0
- one or more endpoints are unhealthyThe text was updated successfully, but these errors were encountered: