derailed / k9s

🐶 Kubernetes CLI To Manage Your Clusters In Style!
https://k9scli.io
Apache License 2.0
26.85k stars 1.68k forks source link

TOP like sort shortcuts. #1000

Open kehao95 opened 3 years ago

kehao95 commented 3 years ago




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.

manlge commented 3 years ago

CC

sergioloza commented 3 years ago

k9s is a fantastic tool, plus one on this enhancement request!!.

francoisfernando commented 3 years ago

+1 from me as well

Bjohnson131 commented 3 years ago

watching