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
add pod count onto Node view #797
Comments
@thllxb I think you can press enter for a given node and it should show all the pods (with count) running on that node. Does that help? |
@derailed Thx for the reply. I know I can see the pod count when I press enter on the node, but I was looking for an overview of pod counts on all node instead of a single node view. |
@thllxb Thank you! Very kind of you to say. I'll need to noodle on this a bit but I think it will slow things down loading the view as these aren't (currently) precomputed tallies. What would showing the #pods per nodes indicate for you? |
Azure AKS has the limit of 30 pods per node. So, for me, it is something I would have to check every now and then. When we have 50+ nodes, it is a lot of |
@thllxb Ah! indeed excellent point! Thank you!! I'll take a peek... |
But, again, I have |
@thllxb Totally! I do see your point and think this could be useful to other K9ers as well. Would you be ok if the pod counts are eventually consistent ie depending on your cluster size the numbers would eventually report the actual tally of pods? If so I think we can make this happen... |
@derailed Sorry, I don't think I understand your question. What is |
@thllxb yes sorry... by that I mean that on first load the counts might be a tad off based on whether the pod cache is up to date or not. Then the view will zero in on the actual counts once the k9s cache is updated. Does this make more sense? |
@thllxb Let's try this out in the next drop (0.21.4). If problematic will pull it out. Lmk what u think and if it fits the bill... |
@derailed |
@thllxb My pleasure! You've been kind enough to make the effort to sponsor the K9s project and in turn I'd like to make the effort to help better your k8s experience. It makes me happy to hear, this is what you were looking for. Thank you! |
I think this feature causes me problems: |
@derailed If you want to fix this problem by removing the feature, I'm ok with it. |
If don't think thats neccecary. It just should not break the node view. You could maybe display a "?" or remove the column entirely when the get-pods request failes due to rbac :) |
Please add pod count onto Node view to show the number of pods running on each node
Is your feature request related to a problem? Please describe.
Nope
Describe the solution you'd like
Add a pod count column onto Node view
Describe alternatives you've considered
now I have to do it through
kubectl
andwc -l
Additional context
The text was updated successfully, but these errors were encountered: