Skip to content
stokaroPublic

About

Kubernetes Commander: a dual-pane TUI inspired by Midnight Commander and Far Manager. Browse and edit Kubernetes resources, inspect logs, events and metrics, compare manifests, and explore Helm releases from the terminal.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

Kubernetes Commander (kc)

Build Status

An animated tour of kc with a caption per scene: the two panels, quick search, the cluster overview, diagnosis of broken objects, logs and more

kc is a two-panel Kubernetes TUI in the style of Midnight Commander. You browse contexts, namespaces, resource types and objects like folders and files, and the lists stay live through controller-runtime informers. The second panel shows what the first one points at: its YAML, Describe, logs, or CPU and memory use. Every change to the cluster asks first, in a dialog that names the context.

kc started as a fork of Kubernetes Commander by Stefan Schimanski and is developed independently; report issues here, not upstream. See NOTICE.

Screenshots

The dashboard (C-x g) of a namespace. In iTerm2 3.7+, kitty and Ghostty kc draws the charts as images, as here; other terminals get the same charts in text:

The full-screen dashboard of a namespace: the workloads with their pods and containers on the left, one with an OOMKilled container, CPU and memory charts drawn as images with a line per workload, the request and limit, and the Events of the last 15 minutes on a timeline

The cluster overview (M-i) with the cluster capacity in the Info panel:

The cluster overview with capacity, health, risks and activity checks, and the cluster capacity in the Info panel

A Deployment list next to the Describe of the selected Deployment:

Deployments in the left panel and kubectl describe of deployment web in the right panel

More in the screenshot catalog.

Install

brew install --cask stokaro/kc/kc

Or go install github.com/stokaro/kc/cmd/kc@latest (Go 1.27 or later), or an archive for Linux or macOS from the releases. Installing kc covers the checksums, the macOS quarantine attribute and building from source.

Quick start

kc                     # the current context of your kubeconfig
kc -n shop get pods    # start in the pods of namespace shop
kc dashboard           # the full-screen dashboard of the namespace
kc --readonly          # refuse every change to the cluster

kc reads your kubeconfig and never changes it. On a cluster that matters, start with --readonly, or set read-only contexts in the configuration.

Key Action
Enter Open the folder or object under the cursor
Tab Switch between the panels
C-s Quick search: type the start of a name
F3 / F4 View / edit the object (kubectl edit)
F8 Delete, after a confirmation that names the context
Insert Mark rows for an action on several objects
C-1 / C-2 Switch the left / right panel between List, Describe, Manifest, Logs and Info
M-i Cluster overview: what needs attention
C-x g Dashboard of the scope, node, workload or pod under the cursor
C-o The terminal under the panels
F9 Menu bar
F1 Help for what has focus
F10 Quit

F1 opens the help page of the dialog, panel mode or row in focus. The pages ship inside the binary; they are also readable here.

Documentation

Contributing

See CONTRIBUTING.md and AGENTS.md for the build and test commands and the conventions. kc is licensed under the Apache License 2.0.

About

Kubernetes Commander: a dual-pane TUI inspired by Midnight Commander and Far Manager. Browse and edit Kubernetes resources, inspect logs, events and metrics, compare manifests, and explore Helm releases from the terminal.

Topics

Resources

Contributing

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages