Community sheets

k9s keyboard shortcuts on macOS

A community-written cheat sheet for k9s, which has no macOS menu bar for Keysi to read. Once imported, hold ⌘ while it is in the foreground and these shortcuts appear.

24 shortcuts · free, and not part of Keysi Pro · public domain (CC0).

Commands

ActionKeys
Show the key mnemonics and help?
Open command mode:
View a resource by name, plural or short name:pod
View a resource in a namespace:pod ns-x
Switch Kubernetes context:ctx
Switch namespace:ns
Show all available resource aliases⌃A
Launch the pulses view:pulses
Launch the XRay view for a resource:xray RESOURCE
Quit k9s:q

Filtering

ActionKeys
Filter the view with a regex/filter
Inverse regex filter/! filter
Filter by label selector/-l label-selector
Fuzzy-find a resource/-f filter
Leave the view, command or filterEsc

On the selected resource

ActionKeys
Described
View the YAMLy
Edite
View logsl
View the previous container's logsp
Shell into the containers
Start a port-forward⇧F
Delete (Tab and Enter to confirm)⌃D
Kill, with no confirmation⌃K

Use this sheet

  1. Download k9s below: a small JSON file.
  2. In Keysi, open Settings ▸ Sheets ▸ Import Sheet… and choose the file, or drop it onto the Sheets list.
  3. Keysi shows the sheet's name, the app it applies to and its shortcut count. Confirm, and it is saved to your Sheets folder.

Nothing is installed from this page: it only gives you a file, and Keysi asks before it saves it. If you already have a sheet with the same identifier, Keysi offers to replace it or keep both.

Matches the program in a terminal's foreground: k9s. Keysi checks the terminal's foreground job, so the sheet appears while you're actually in it.

Shortcuts taken from the tool's documentation: k9scli.io. Check them against your own configuration, since a tool you have remapped is no longer on its defaults.

Download the k9s sheet (JSON) Get Keysi — free

More community sheets