Skip to content
New issue

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

Improve tests with cluster health and status #19

Open
bissquit opened this issue Apr 17, 2023 · 0 comments
Open

Improve tests with cluster health and status #19

bissquit opened this issue Apr 17, 2023 · 0 comments

Comments

@bissquit
Copy link
Member

Is your feature request related to a problem? Please describe.
We need more control over multi node etcd installation

Describe the solution you'd like
The following commands give us more information about cluster health:

# https://etcd.io/docs/v3.5/tutorials/how-to-check-cluster-status/
# https://platform9.com/kb/kubernetes/how-to-find-etcd-leader-and-check-etcd-health
cd /etc/ssl/private
etcdctl --endpoints=172.28.0.4:2379,172.28.0.2:2379,172.28.0.3:2379 --cacert=ca.pem --cert=client.pem --key=client-key.pem  --write-out=table endpoint status
etcdctl --endpoints=172.28.0.4:2379,172.28.0.2:2379,172.28.0.3:2379 --cacert=ca.pem --cert=client.pem --key=client-key.pem  --write-out=table endpoint health
etcdctl --endpoints=172.28.0.4:2379,172.28.0.2:2379,172.28.0.3:2379 --cacert=ca.pem --cert=client.pem --key=client-key.pem  --write-out=table member list

Also it could be useful to check cluster working by moving leader to another node and checking how cluster operates:

etcdctl move-leader --help

Describe alternatives you've considered
Not applicable

Additional context
Not applicable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant