-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
UI: agent type (server or leaf) and highlight leader #5073
Comments
I think the consul service is what you are looking for, however leader information is not available AFAIK in catalog |
Ok your right http://127.0.0.1:8500/ui/dc0/services/consul does show the servers, but it's a bit on the edge of knowing what to look for. Don't think it's far fetched to show consul information on the Nodes tab. We can introduce for example color borders. Black border is a leaf node. Magenta border consul server. And party parrot the leader :D |
Hey folks 👋 I was actually looking at something related to this the other day. It sounds like what you might be asking for is a mix of what we already have plus possibly: https://www.consul.io/api/status.html#get-raft-leader ? Does that sound right? Thanks, John |
Yes in summary differentiate
in the node tab with css for example border color |
I agree it would be nice to know from the UI which consul node is the leader. Currently I just hit the |
@gertcuykens, we've got a PR in (see open PR link above) for part of this request, the leader UI. Curious to hear more about your interest in seeing server and client information as well. What sort of tasks or use cases would that extra information help you achieve faster or easier? What decisions would that help you make? |
For me, I like knowing which node is the leader when I'm doing a rolling update. I will scale up to 6 consul servers. Stop the two old non leaders, then the old leader do a |
@opihana From consul doc
So basically you want a small number of servers and allot of clients, so it matters allot if it's a server or a client. If you spin up servers by accident instead of clients, you would have a false impression everything is ok |
@dfredell and @gertcuykens Great feedback, thank you. Your point, Gert, is more about making sure you understand the ratio of servers to clients easily. I'll keep that in mind when designing client/server indications on this page. |
Hey there, Feel free to check out the community forum as well! |
Hey there, This issue has been automatically closed because there hasn't been any activity for at least 90 days. If you are still experiencing problems, or still have questions, feel free to open a new one 👍 |
Hey there, This issue has been automatically locked because it is closed and there hasn't been any activity for at least 30 days. If you are still experiencing problems, or still have questions, feel free to open a new one 👍. |
http://127.0.0.1:8500/ui/dc/nodes
I think there is plenty of room and colors left to indicate which nodes are real servers and who is leader :)
Also there doesn't seem to be a API way to show the
node type
likeconsul members
does?The text was updated successfully, but these errors were encountered: