-
Notifications
You must be signed in to change notification settings - Fork 174
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
Feature Request: Show ready/not ready, node type via node icons #59
Comments
|
@olivergg really like this :) I do believe there are actually 3 states here. Ready, Not Ready, and Unknown. Where "Not Ready" means the k8s can communicate with the server, but it's not ready yet. And "Unknown" means the server is unreachable. Also, I think it might look a little nicer if the icons were centered horizontally. What do you think? @mowings Currently, you can sort by the "Ready" column to place the "not ready" nodes at the top of the list (which I do a lot). Will that work for you for the short term? |
@herbrandson Yes, you're right, I thought the "Ready" state was a boolean.... I should have read the documentation https://kubernetes.io/docs/concepts/architecture/nodes/#condition 🙈 As for the sorts, one could sort by default by the "Ready" column and then by the "Name" column. Therefore, if all nodes are ready, it's the same as the current sort 😉 |
Thanks @olivergg -- I will have a look when I get a chance! |
Just to add an additional note, at least for us it's probably more important that unready or unknown status nodes float to the top. Sorting by master or worker node is not really that big a deal here |
Just built and deployed with @olivergg s pr. Definitely a big improvement. If the sort could float unready nodes to the top it would be perfect. Thanks again for your work! |
Actually, it looks like the PR causes breaks the namespace pane. When navigating to the namespace pane, I get an error message. While there are no api errors, the javascript console shows:
The code in question is:
This seems to be broken on the namespace pane. I am guessing this is because namespaces (or at least mine) don't have any labels. EDIT: Same issue with the config pane |
I left a comment in the PR with the fix -- you do need to check that labels actually exists, Thanxs! |
Yikes! I missed this comment before merging that PR :( @olivergg I ran into similar issues in various other places and as a result had started using lodash functions instead of things like @mowings I saw you had another PR. Was it the patch for this issue? |
@herbrandson thanks, I'll have a look at lodash. Meanwhile, f2ee674 was the actual fix for this missing check. Regarding the other PR, I guess, an interractive rebase should be necessary from @mowings 😉 |
@herbrandson @olivergg -- I closed out that PR and submitted a clean one just to fix the ApiVersion issue. My master has diverged a bit from yours -- so I resubmitted from a clean branch. Should be good to go. |
@herbrandson I've added a fix to my branch 8de135d to use lodash function |
Hey guys -- I am going to close this issue out and create another one just for the sorting unready masters to the top part. |
Perfect. Thanks @mowings |
First great job on the dashboard -- seems a lot more lightweight and less buggy than the standard dashboard. We have a couple of minor UI requests:
On the nodes page it would be nice if unready nodes showed up by default on top, and maybe with a red icon, instead of the text 'READY' column. Even without the icon change, it would be good to float unready nodes to the top by default (we run on bare metal, so unready nodes are a big deal for us). We have alerts, obviously, but it still seems like a logical change to the UI.
It would also be great if on that same page it was a bit more obvious which nodes were masters. You can look at the labels, but an icon change (or replacing the READY column with a MASTER column) would be pretty nice.
Thanks again for all your great work!
The text was updated successfully, but these errors were encountered: