Hi, I want to get all node messages in the cluster such as “ip:port”.
I know there are some ways to get this message which are not the best choice because of some reasons:
- Admin UI （I want to get these messages by shell/python but not by UI. Using this restful API
https://127.0.0.1:8080/_status/nodeshave to login first and then it will check the session validation on sever side.）
./cockroach node status ...(It requires ROOT user privileges which I couldn’t get. The grpc API need to check CA certificate but I just got the username and password )
Is there another way to get all nodes’s ip:port in cluster without CA certificate or using Admin UI?