Is your feature request related to a problem? Please describe.
I'm always frustrated when I want to sort some column other than the most common ones like name or age. I have to check the help with ? to see what sort is available. And most time they are not available. for example the claim field in persistentvolume
Describe the solution you'd like
k9s may adopt the solution in top where
Sorting the top output
By default, top sorts its entries by the CPU usage. You can change that by pressing M to sort by memory usage. To reverse sort your output, press R. To return to sorting by CPU, press P. To sort by other fields press < to move the sort column to the left and > to move the sort column to the right. To get help, press h. To exit top, press q.
So that would be: we can keep the current shortcut
but also provide any column sort by.
Is your feature request related to a problem? Please describe. I'm always frustrated when I want to sort some column other than the most common ones like
name
orage
. I have to check the help with?
to see what sort is available. And most time they are not available. for example theclaim
field inpersistentvolume
Describe the solution you'd like k9s may adopt the solution in
top
whereSo that would be: we can keep the current shortcut but also provide any column sort by.
<
to move the sort column to the left>
to move the sort column to the right.R
to reverse sort