Back to blog

A Faster Everyday Kubernetes Workflow: Cmd+K Search, Keyboard Actions, Debug Containers, File Copy, and Right-Click Ask Kubexy

November 17, 2026 8 min read Kubexer Team
ProductivityCommand PaletteKeyboard ShortcutsKubexyDebugging

A typical Kubernetes debugging session is not one hard problem. It is a chain of small steps: find the resource, open its logs, check events, get a shell, copy a file out, look at the rollout history, edit, apply. Each step is easy and each costs a little in typing, context switches or remembering a flag. This post is a roundup of the parts of Kubexer that shorten that chain, and an honest note on which ones need a Pro plan.

One palette: Cmd/Ctrl+K

Press Cmd+K on macOS or Ctrl+K elsewhere (or click the search icon in the top bar) and a floating palette opens over your cluster tab. It does three jobs depending on what you type:

  • Plain text searches resources. Type part of a name and it searches the kinds in the current cluster, then Enter opens the result's drawer. Press Tab to widen the search to every kind, or Cmd/Ctrl+Enter to hand your query to the full Global Search page. With an empty query it shows recent searches for that cluster. Kind filters understand kubectl short names (deploy, svc, sts). Results stream in as each kind answers, so you rarely wait for the slowest one.
  • A leading > lists commands (Cmd/Ctrl+Shift+P opens it straight in that mode): switch cluster context, change the namespace filter, restart a rollout, open logs, toggle or pick a theme, open any Settings page, go to any page in the sidebar.
  • A leading : jumps to a resource type the k9s way: :po for Pods, :deploy for Deployments.

It is the faster successor to kubectl get -A | grep, which we covered in Find Anything Fast. The floating palette is available on every plan. The dedicated full-page Global Search, with more rows and sortable columns, is a Pro feature. The palette only exists inside a cluster tab, and it works from inside the code editor and terminals because the shortcut is caught by the app before they see it.

Keyboard navigation in tables

Tables take keyboard focus the way k9s trained many of us to expect. j and k (or the arrow keys) move between rows, Enter opens the drawer, and / focuses the table search. Single-key actions then work on the focused row: l logs, s shell on a Pod, d debug, e edit YAML, y copy name, r restart a rollout, Shift+D delete. Two-key chords jump around: g p Pods, g d Deployments, g s Services, g n Nodes, g e Events. Press ? for a searchable cheat sheet. If single-key hotkeys clash with your habits, turn them off or rebind actions in Settings → Keyboard. They never fire while you are typing in an input.

Debug a pod that has no shell

A distroless or minimal image gives you nothing to exec into. kubectl debug solves it with an ephemeral container, but the command line is long to type under pressure. In Kubexer, pick a Pod and choose Debug (ephemeral container) (or press d). Kubexer adds an ephemeral container with a generated kubexer-debug- name, waits for it, and attaches in a shell tab, with the target container's process namespace shared so you can see its processes. The image comes from the Node Shell settings; if the pull fails, the error tells you to set an image your nodes can reach. Ephemeral containers need a cluster that supports them and permission to patch the pod.

Copy files in and out of a container

Copy files… on a Pod uploads or downloads files and folders between your disk and a container, the kubectl cp job, with progress and cancel. It streams a tar over exec, so the container needs tar (a missing one is reported clearly), and paths in the archive are sanitized before anything is written to your disk. A download refuses to replace an existing local target unless you enable Overwrite.

Rollout history, undo, and pause

For Deployments, StatefulSets and DaemonSets, Rollout history / rollback lists the revisions with their images and change cause, lets you compare them, and rolls back to the one you choose. Behaviour is designed to match kubectl rollout history and rollout undo, including how annotations are kept. Deployments also have Pause / resume rollout. Port forwarding works from a Pod or a workload directly, not only from a Service, and active forwards can be opened in the browser from the service drawer.

Review YAML before it touches the cluster

The YAML editor shows a diff against the live object and a review step before applying. A Validate on server button runs a server-side dry run. Inline schema validation uses the cluster's own OpenAPI, including CRDs, and hovering a field, autocomplete and an Explain panel give you the kubectl explain documentation without leaving the editor.

Right-click: Ask Kubexy about this

Right-click any resource row or drawer header (or press Shift+F10) and you get the resource's actions plus Ask Kubexy presets: summarize, diagnose, analyze recent events, analyze logs, analyze metrics, find related resources, or ask a custom question. Presets that make no sense for the kind are hidden. For a Pod with a bad status or a workload with fewer ready replicas than desired, Why is it failing? is promoted to the top. Kubexy then investigates with its read-only tools and shows each call it makes, as described in How to Use the Kubernetes AI Assistant. Inputs, editors and terminals keep their normal right-click menu.

The answers are linked, too. When Kubexy mentions a resource, it renders as a link with a kind badge. Hover shows status, click opens that resource's drawer, and a resource that has since been deleted is shown struck through. Link parsing is strict and sanitized, so an answer cannot sneak in arbitrary links. Exported PDFs keep plain labels.

What needs Pro

  • Free: the Cmd/Ctrl+K palette, command and jump modes, keyboard navigation, debug containers, file copy, rollouts, port forwarding, and the YAML tools. The right-click menu itself and its normal resource actions are free.
  • Pro: the Ask Kubexy items (Kubexy is bring-your-own-key, so you also supply and pay for your AI provider) and the full-page Global Search. On a free plan, choosing an Ask item shows the upgrade prompt.

Honest limits

  • Resource search lists up to 500 results per kind from a cached snapshot (about 30 seconds) to stay fast; press Refresh on the Search page when you need the very latest.
  • Debug and file copy depend on the cluster and image: ephemeral containers must be enabled, tar must exist in the container, and RBAC must allow exec and pod patching.
  • Kubexy answers are only as good as the model you connect and the data it can read. Confirm before you act, especially on edits it proposes.

Wrapping up

None of these features is a headline on its own. Together they remove the small friction between wanting to know something and knowing it: search with one keystroke, move without the mouse, debug and copy without writing long commands, review before applying, and ask Kubexy about whatever you right-click. Try Kubexer and press Cmd/Ctrl+K on your own cluster. For the bigger picture, see managing your Kubernetes cluster with Kubexer.