-
Notifications
You must be signed in to change notification settings - Fork 50
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
Suggestion: sort flux resource list based on unique queues #6297
Comments
I'm going to look into this and figure out how much work it might be.
I gather this is only an issue if queues overlap. Obviously, it is a bit annoying if every cluster is going to have a Another idea would be to suppress queues that are currently disabled in
What would |
This is a good point and I think this idea ends up being better overall than #6275 in a few ways. Thank you for reminding me. |
Ok. However, to implement this suggestion is going to end up being a rewrite of the
|
If those are lower-hanging fruit, for sure. None of this is immediate needs, obviously, just things to make the UI a little easier to use and maybe make more sense for people new to the paradigm. |
Current design of
flux resource list
could be described as “we will list nodes only once and we will therefore list queues multiple times in different combinations.” The degenerate case is that with three queues we could have seven lines times three (free/allocated/down) states - 21 lines of output. We also end up with arbitrarily long QUEUE columns, which has been discussed elsewhere:My idea - make the queue the secondary distinguisher in the sort, and accept listing nodes multiple times, e.g.:
A further extension - this makes it very natural to filter when people specify a queue. Instead of:
...you would get:
If we can also hide lines with 1 nodes, we’re further cleaning up the output. In a system with all nodes in one state you'd just see something like:
The text was updated successfully, but these errors were encountered: