Repository navigation
Releases
Releases · stokaro/kc
v1.0.0
The first release of this fork of Kubernetes Commander. kc is a two-panel Kubernetes TUI in the style of Midnight Commander, built on controller-runtime informers, so the lists stay live.
Install
brew install --cask stokaro/kc/kcOr download an archive below. Linux and macOS, amd64 and arm64. kc_checksums.txt is signed with cosign; see the README for cosign verify-blob.
The macOS binaries are not notarized. If macOS refuses to start a kc you downloaded with a browser, remove the quarantine attribute: xattr -d com.apple.quarantine kc. Homebrew does this for you.
What it does
- Two panels that browse contexts, namespaces, resource types, objects and their children (Deployments to ReplicaSets to pods to containers, Services to EndpointSlices, ConfigMap and Secret keys), with an mc-style menu bar, function-key bar and a terminal underneath.
- The second panel can follow the first in Describe, Manifest, Logs or Info mode. Info shows CPU, memory, pod and disk use with history.
- A full-screen dashboard (
C-x g,kc dashboard) for a namespace, node, workload or pod: CPU and memory against requests and limits, from metrics-server or Prometheus, with the Kubernetes Events on the same time axis. In iTerm2 3.7+, kitty and Ghostty the charts are drawn as images; elsewhere in text. - Logs: streaming with reconnects, merged logs of a workload, JSON lines as fields, filters, and logs around an Event or a chosen time window.
- The cluster overview and a diagnosis of broken objects, with the reason for each finding.
- Actions that ask first and show the kubectl equivalent: scale, restart, roll back, drain, delete, edit. Read-only mode refuses them.
- Files: browse a container's filesystem, view large files in pages, copy between local folders and containers.
- Helm releases with values, manifests and history, without the
helmbinary. - The Work profile lists the resource types most people use; the rest are one row away. Named visibility profiles can be bound to a kube context.
kc get ...andkc logs ...accept kubectl syntax and open the matching folder.
Press F1 anywhere for help. The README and the screenshot catalog show more.
Configuration lives in ~/.kc/config.yaml; config-default.yaml in the repository lists every setting with its default.
All 795 commits
Changelog
- 9ea4973 Add Columns Normal/Wide toggle: F2 option + Ctrl+W. Persist in config (resources.columns) with default 'normal'. Filter server Table columns by priority (0 for normal, all for wide) in Namespaced/Cluster object folders. Update README. Wire through panel/app/view options.
- e10eb38 Add CronJob Run now and Suspend/Resume as F9 object actions (#80)
- 1c4a2a6 Add Homebrew tap release config
- a1f56a8 Add a cluster overview folder: capacity, health, risks, activity (#104)
- d110b40 Add a full-screen dashboard of CPU and memory (#306)
- a7560b6 Add a node shell (#96)
- cda4574 Add a read-only mode per run and per context (#107)
- 48ed85c Add bubbleheadless headless terminal driver
- f2b0297 Add centralized test logging helper internal/testing.SetupLogging; use it in envtest TestMain for ui and tablecache packages. Unify controller-runtime and klog setup; quiet by default unless DEBUG is set.
- 0f64124 Add changelog for v0.7.1
- 7f9808c Add changelogs for v0.7.2-v0.7.4
- 3aeed71 Add child resource folders for workloads
- 67356e0 Add cmd/kc
- 9ffe152 Add command watch options for command panels
- 3da33c9 Add cordon, uncordon and drain for nodes (M-n) (#114)
- 21fe086 Add describe panel mode
- 6778131 Add help modal and discovery logging
- 8e1df8e Add limited access envtests
- 8149c8e Add namespace override flags
- 067a8ae Add namespace-scoped watches
- 096d2b1 Add port forwarding for pods, containers and services (#91)
- ac289d3 Add scale, rollout restart and rollback for workloads (#110)
- 0edb952 Add screenshots of every feature with a capture script (#322)
- 2b80040 Add shell and attach for pod containers (M-x, M-t) (#106)
- db4a01a Add the resource visibility policy and the Work catalog (#346)
- 071184a Adjust interactive command mouse offset
- 694502f Align klog verbosity logging
- a5262fd Browse Helm releases, values and deployed resources (#103)
- 266b03d Browse permitted namespaces without cluster-wide list access (#113)
- 0f71575 Bump bubbletea stack to charm.land rc
- 6ab28c8 Bump bubbleterm kc
- 1e60e69 Check the container instance again after the log reconnect wait (#286)
- 1eb5367 Clarify escalation instructions
- 20fbaa3 Clear the reconnecting state when a log reader finishes (#292)
- 0fc20c1 Cluster: avoid eager namespace caches
- 2fae813 Convert widgets to return tea.View with cursors
- 0bd28bf Copy files and directories from containers to a local panel (#105)
- 4a4a243 Copy local files into container folders with F5 (#126)
- 6d3a7b9 Decline custom dashboards and Grafana import for now (#307)
- 46c583d Decline terminal graphics for charts for now (#308)
- e1cae1b Default Top Nodes watch interval
- ed91a65 Deliver withBusy results past an open dialog (#338)
- a7e292c Document Homebrew install targets
- 57546d0 Document config defaults
- 8c79013 Draw the Info bars and history like Grafana (#350)
- 078ea8d Draw the Kitty chart images in the screenshot catalog (#352)
- 481c625 Draw the dashboard chart images like a Grafana panel (#347)
- 98185eb Draw the dashboard charts as images through Kitty Unicode placeholders (#320)
- 569951f Draw the delete confirm red (#334)
- ce67070 Edit resource visibility: named profiles, context bindings, the editor (#357)
- 61f598b Emphasize top priorities
- 60a3c6a Enforce non-nil contexts
- eeb44d7 Envtests: factor out first-cell normalization helper; assert Age column has non-empty values in both cluster and namespaced object list tests.
- b3d15b5 Envtests: relax ordering assertions to relative index checks; add Age non-empty checks; refactor normalization helpers for first column.
- d7811ba Expand a Logs panel session full screen, and solo a source (#304)
- f07dcba F2 function bar label now 'Options'; F2 opens Object Options for object lists and Resources Options for discovery lists. Simplify Resources dialog (removed object-specific settings). Add envtest for ClusterObjectsFolder Age column and ordering. Adjust modal titles to 'Options'.
- 239950e Fit dialog titles in their frames and open help over the panels (#336)
- 6158c40 Fit the earlier Events note in a narrow dashboard lane (#353)
- 37891a2 Fix back-item type assertion
- e42e274 Fix command watch scheduling via app-level ticker
- 970cc8c Fix container logs label
- ff61f3c Fix envtests: normalize leading '/' in first cell for enterable rows; ensure builds pass. Update F2 routing and modal titles. Add namespaced object list envtest.
- 31dca88 Fix folder dirty redraws
- f9a04e6 Fix namespace auto navigation
- 4c93553 Fix navigation envtest ordering determinism
- 16cc1be Fix non-interactive commands ignoring keys
- f329f39 Fix problems found while recording the demo (#241)
- 3e5019b Fix resource group counts on watch
- 7530d58 Fix resource view toggles
- c9e3307 Fix the two CodeQL alerts (#11)
- 4328d96 Follow the investigation window in the dashboard and show Events (#315)
- dd15631 Follow-ups from the demo fixes (#242)
- 7398890 Forward interactive command cursor and mouse correctly
- f0a7eeb...
