k9s icon indicating copy to clipboard operation
k9s copied to clipboard

Add shortcut to select all items on the screen

Open RomanTheLegend opened this issue 2 years ago • 8 comments




Please add a shortcut that selects all items on active screen.

Use case: a user wants to restart all failed pods. For that user presses CTRL + Z but then user has to select each individual pod with Spacebar. Having large number of failed pods to restart makes this operation really inconvenient.

Describe the solution you'd like Add a shortcut (for example, SHIFT + 8 - i.e. * to select all items currently displayed

Describe alternatives you've considered Alternatives are only via kubernetes's native CLI

RomanTheLegend avatar Jan 17 '24 10:01 RomanTheLegend

@RomanTheLegend Would z aka sanitize fit that bill?

derailed avatar Jan 17 '24 14:01 derailed

As long as it can select all items on the screen, any shortcut would do

RomanTheLegend avatar Jan 19 '24 11:01 RomanTheLegend

@RomanTheLegend To be clear I think z aka sanitize is the key action available in pod view to achieve what you are looking for. It cleans up pods in non happy state.

derailed avatar Jan 20 '24 01:01 derailed

What about other resources? Let's say, I want to delete all ConfigMaps or secrets

RomanTheLegend avatar Jan 22 '24 12:01 RomanTheLegend

@derailed can i implement this or any other ticket?

darth-raijin avatar Feb 16 '24 07:02 darth-raijin