The cluster tells you it’s broken. sofka tells you why.
brew install nklmilojevic/sofka/sofka
On k9s? sofka import k9s brings your setup. Other installs
27% less time to your pods.
Startup to the tested pod view, median of ten fresh processes each.
method and limits- apply a pod-name filter
- 55.41 ms
625.51 ms - first open of StatefulSets
- 81 ms
403 ms - process memory (RSS)
- 324 MiB
738 MiB
sofka 0.31.0 vs k9s 0.51.0, 6 October 2026, read-only mode, same terminal, alternating run order, one Apple M3 Max.
How the race was measured
- Startup to a visible view. Timing stops at 95% of the initial pod count and at least 20 visible status rows. It does not mean all data has loaded.
- Complete filter input. Timing includes the filter key, text and Enter, then waits for one matching row.
- Memory across fresh processes. Five RSS samples per process, starting five seconds after the pod threshold. This does not measure long sessions.
- Test limits. Results include terminal observation delay and API response time. The programs use different columns, filter rules and refresh schedules. k9s timing includes its installed launcher.
Results depend on the workload and test conditions. Read the benchmark report and test method →
:from-k9s Your setup comes with you. Then press X.
One command converts your k9s aliases, plugins, hotkeys, views, skins and per-context settings. sofka lists anything it could not convert.
$ sofka import k9sKeys you already know
:/dlsyectrl-d
Keys you will start using
- X
- Explain why it’s broken: rollout state, blocking pods, exit codes, recent Warning events. No AI, no external service.
- u
- Follow owners, children and references, such as the pods using a volume.
- T
- Every change the watch saw for an object, timestamped.
╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\
│Context: kwok-demo │ / \_____/ \
│Cluster: https://127.0.0.1:32764/ │ ( - - )
│Namespace: <all> │ \ ᴥ /
│Resource: deployments.apps │ \ \_/ /
│Count: 8 │ '-------'
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12
╭ mouse-tracker — explain (9 findings) ──────────────────────────────────────────────────────────────────────────────────────────╮
│ Deployment/mouse-tracker is degraded │
│ Rollout │
│ desired 3 → updated 3 → ready 2 (available 2) │
│ Available: MinimumReplicasUnavailable: Deployment does not have minimum availability. │
│ Blocking objects │
│▌ Pod/mouse-tracker-6f7b69b49-dv5gs 0/1 CrashLoopBackOff → │
│ tracker: CrashLoopBackOff (last: Error, exit 1, 51 restarts) │
│ Recent evidence │
│ 13:05:21 BackOff: Back-off restarting failed container tracker in pod mouse-tracker-6f7b69b49-dv5gs │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
esc:back or clear search k:up j:down enter:accept selection or input l:logs r:refresh ?:help
○ stopped:gitops Flux, Argo CD and Helm, without their CLIs.
sofka talks to the Kubernetes API directly. Suspend, resume, reconcile and sync from the resource you are looking at. No flux, argocd or helm binary on your machine.
╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\ │Context: kwok-demo enter yaml d describe E events │ / \_____/ \ │Cluster: https://127.0.0.1:32764/ e edit c copy name Y copy cell │ ( - - ) │Namespace: <all> ctrl-d delete │ \ ᴥ / │Resource: kustomizations.kustomize.toolkit.fluxcd.io t flux menu │ \ \_/ / │Count: 3 │ '-------' ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12 ╭ kustomizations [3] → ──────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ NAMESPACE NAME READY MESSAGE REVISION │ │ flux-system cluster-apps True Applied revision: main@sha1:9f3ab21c7de4a3fbb1524040cd41d1e8b2f6f0aa main@sha1:9f3ab│ │ flux-system media True Applied revision: main@sha1:9f3ab21c7de4a3fbb1524040cd41d1e8b2f6f0aa main@sha1:9f3ab│ │▌ flux-system mouse-tracker False health check timed out: Deployment/prod/mouse-tracker status: 'InProgress' main@sha1:9f3ab│ │ │ │ ╭ Flux: current selection ───────────────╮ │ │ │▌ Suspend │ │ │ │ Resume │ │ │ │ Reconcile now │ │ │ │ Cancel │ │ │ │ │ │ │ ╰────────────────────────────────────────╯ │ │ │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ esc:back or clear search k:up j:down enter:accept selection or input ?:help Viewing kustomizations.kustomize.toolkit.fluxcd.io ● live
╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\
│Context: kwok-demo │ / \_____/ \
│Cluster: https://127.0.0.1:32764/ │ ( - - )
│Namespace: <all> │ \ ᴥ /
│Resource: applications.argoproj.io │ \ \_/ /
│Count: 4 │ '-------'
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12
╭ mouse-tracker-canary — Argo CD (c discover children) ──────────────────────────────────────────────────────────────────────────╮
│ Application/mouse-tracker-canary: OutOfSync / Degraded │
│ Application │
│ project default │
│ destination this cluster/staging │
│ auto-sync: manual │
│ revision 7d01aa3 │
│ Source │
│ https://github.com/sophie/estate │
│ path apps/mouse-tracker · targetRevision canary │
│ Managed resources (3) │
│▌ Deployment/mouse-tracker-canary: OutOfSync / Degraded → │
│ ConfigMap/tracker-config: OutOfSync → │
│ Service/mouse-tracker-old: Synced → │
│ Blocking │
│ Deployment/mouse-tracker-canary is Degraded │
│ Deployment/mouse-tracker-canary is OutOfSync: live object differs from git │
│ ConfigMap/tracker-config is OutOfSync: missing from the cluster or differs from git │
│ field-level diff: argocd app diff mouse-tracker-canary │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
esc:back or clear search k:up j:down enter:accept selection or input r:refresh ?:help
● live╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\
│Context: kwok-demo enter argo view y yaml d describe │ / \_____/ \
│Cluster: https://127.0.0.1:32764/ e edit E events c copy name │ ( - - )
│Namespace: <all> ctrl-d delete │ \ ᴥ /
│Resource: applications.argoproj.io t suspend/sync │ \ \_/ /
│Count: 4 │ '-------'
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12
╭ applications [4] ──────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ NAMESPACE NAME SYNC HEALTH REVISION AUTO-SYNC AGE │
│ argocd catflix Synced Progressing 4be2c19 on 7m │
│▌ argocd mouse-tracker-canary OutOfSync Degraded 7d01aa3 manual 7m │
│ argocd purr-gateway Synced Healthy 4be2c19 on 7m │
│ argocd whisker-api Synced Healthy 4be2c19 on 7m │
│ ╭ ArgoCD: current selection ─────────────╮ │
│ │▌ Suspend │ │
│ │ Resume │ │
│ │ Sync now │ │
│ │ Sync with prune │ │
│ │ Cancel │ │
│ │ │ │
│ ╰────────────────────────────────────────╯ │
│ │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
esc:back or clear search k:up j:down enter:accept selection or input ?:help
● live╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\ │Context: kwok-demo enter history │ / \_____/ \ │Cluster: https://127.0.0.1:32764/ y yaml d describe │ ( - - ) │Namespace: <all> ctrl-d uninstall │ \ ᴥ / │Resource: helm │ \ \_/ / │Count: 6 │ '-------' ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12 ╭ helm [3] ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ NAMESPACE NAME REVISION STATUS CHART APP VERSION UPDATED│ │▌ media catflix 3 deployed app-template-5.1.2 57d │ │ o11y victoria-metrics 2 deployed victoria-metrics-single-0.15.3 v1.115.0 78d │ │ prod treat-dispenser 7 deployed app-template-5.1.2 2.4.0 51d │ │ │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ tab/backtab: resources ::command ?:help /:filter S:sort space:mark esc:back Viewing Helm releases ● live
Flux CD
Suspend, resume and reconcile Kustomizations, HelmReleases, sources and image automation through native API patches. Force reconcile a HelmRelease. Follow an object to the Kustomization and source revision that applied it.
Argo CD
Applications and ApplicationSets with sync, health and auto-sync columns. Sync, or sync with prune. See which managed resources block a healthy sync, without opening the Argo CD UI.
Helm
sofka decodes release Secrets itself: history, values, rendered manifests, NOTES and rollbacks.
$ brew install nklmilojevic/sofka/sofka:features Everything else is one key away.
The full feature list is long. These are the keys you will use most often, grouped the way sofka’s own ? help groups them.
Diagnose
- X
- explain Deployments, Pods, Jobs, CronJobs, PVCs and Nodes
- u
- connected resources: owners, children, references
- T
- state timeline of everything the watch saw
- space l
- combined logs for the pods you marked
- J
- JSON logs as readable records
- ctrl-z
- show only faults, or only warning and error log lines
- :pulse
- the whole cluster as health tiles
Act
- space
- mark rows, then act on all of them in one confirmed step
- D
- drain nodes with options you set in a form
- V / N
- approve or deny certificate signing requests
- :rollout-history
- revisions of a workload, with rollback
- f
- port-forward in the background; manage with :pf
- x
- browse a PVC’s files and copy them in or out
- e
- edit decoded Secret values; only changed keys are patched
Navigate
- /
- filters: text, ~fuzzy, a|b, labels, cpu>500m, restarts>=5, age<2h
- :
- command palette for every resource and command, CRDs included
- :pods @ctx ns
- jump context, resource and namespace in one command
- :ns *-crons
- namespace wildcards
- :workloads
- Deployments, StatefulSets, DaemonSets, CronJobs in one list
- :layout
- named column layouts per view
- ctrl-e
- compact mode: one-line header, no footer
Stay safe
- --readonly
- read-only mode and guardrails, set per context
- :journal
- every action you took, saved to a file on request
- :can-i
- the actions your current identity is allowed
- :nodes
- requested and limited CPU and memory per node
- :bundle
- a diagnostic bundle to share with whoever is helping
╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\
│Context: kwok-demo │ / \_____/ \
│Cluster: https://127.0.0.1:32764/ │ ( - - )
│Namespace: <all> │ \ ᴥ /
│Resource: workloads │ \ \_/ /
│Count: 46 │ '-------'
╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12
╭ Nodes Ready ─────────────────────────────╮╭ Pods ───────────────────────────────────╮╭ Deployments ────────────────────────────╮
│██████████████████████████████████████████││ Running 28 ││██████████████████████████ │
│██████████████████████████████████████████││ Pending 2 ││██████████████████████████ │
│██████████████████████████████████████████││ Failed 0 ││██████████████████████████ │
│██████████████████████████████████████████││ Succeeded 1 ││██████████████████████████ │
│██████████████████████████████████████████││ Total 31 ││██████████████████████████ │
│███████████████████4/4 ███████████████████││ ││███████████████████5/8 ███ │
│██████████████████████████████████████████││ ││██████████████████████████ │
│██████████████████████████████████████████││ ││██████████████████████████ │
│██████████████████████████████████████████││ ││██████████████████████████ │
│██████████████████████████████████████████││ ││██████████████████████████ │
╰──────────────────────────────────────────╯╰─────────────────────────────────────────╯╰─────────────────────────────────────────╯
╭ StatefulSets ────────────────────────────╮╭ DaemonSets ─────────────────────────────╮╭ Storage / Batch ────────────────────────╮
│██████████████████████████████████████████││█████████████████████████████████████████││ PVCs Bound 1/1 │
│██████████████████████████████████████████││█████████████████████████████████████████││ Jobs 1 │
│██████████████████████████████████████████││█████████████████████████████████████████││ │
│██████████████████████████████████████████││█████████████████████████████████████████││ │
│███████████████████2/2 ███████████████████││███████████████████2/2 ██████████████████││ │
│██████████████████████████████████████████││█████████████████████████████████████████││ │
│██████████████████████████████████████████││█████████████████████████████████████████││ │
│██████████████████████████████████████████││█████████████████████████████████████████││ │
│██████████████████████████████████████████││█████████████████████████████████████████││ │
╰──────────────────────────────────────────╯╰─────────────────────────────────────────╯╰─────────────────────────────────────────╯
esc:back or clear search r:refresh ?:help
● live╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\ │Context: kwok-demo enter yaml d describe E events │ / \_____/ \ │Cluster: https://127.0.0.1:32764/ e edit c copy name Y copy cell │ ( - - ) │Namespace: <all> ctrl-d delete │ \ ᴥ / │Resource: workloads │ \ \_/ / │Count: 46 │ '-------' ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12 ╭ workloads [15] ────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ NAMESPACE NAME KIND READY STATUS AGE │ │▌ media catflix Deployment 2/2 Ready 2m │ │ media hairball-encoder Deployment 0/1 Unavailable 2m │ │ media hairball-sweeper CronJob Suspended 2m │ │ o11y vector DaemonSet 4/4 Ready 2m │ │ o11y victoria-metrics StatefulSet 1/1 Ready 2m │ │ prod litterbox-agent DaemonSet 4/4 Ready 2m │ │ prod mouse-tracker Deployment 2/3 Unavailable 2m │ │ prod nap-scheduler CronJob Scheduled 2m │ │ prod purr-gateway Deployment 2/2 Ready 2m │ │ prod red-dot-chaser Deployment 4/4 Ready 2m │ │ prod sunbeam-seeker Pod 0/1 Pending 2m │ │ prod treat-dispenser Deployment 3/3 Ready 2m │ │ prod whisker-api StatefulSet 3/3 Ready 2m │ │ staging mouse-tracker-canary Deployment 0/1 Unavailable 2m │ │ staging treat-dispenser Deployment 1/1 Ready 2m │ │ │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ tab/backtab: resources ::command ?:help /:filter S:sort space:mark esc:back Viewing workloads ● live
╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\ │Context: kwok-demo enter containers l logs p prev logs │ / \_____/ \ │Cluster: https://127.0.0.1:32764/ s shell t transfer f port-fwd │ ( - - ) │Namespace: <all> y yaml d describe E events │ \ ᴥ / │Resource: pods e edit o node J owner │ \ \_/ / │Count: 29 X explain T timeline ctrl-d delete│ '-------' ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12 ╭ pods [29] ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ NAMESPACE NAME READY STATUS RESTARTS AGE CPU MEM │ │▌ media catflix-78fd68f998-d8kq5 1/1 Running 0 2m - - │ │ media catflix-78fd68f998-xnwlp 1/1 Running 0 2m - - │ │ media hairball-encoder-799678ff88-qmdl6 0/1 CrashLoopBackOff 12 2m - - │ │ o11y vector-542wt 1/1 Running 0 2m - - │ │ o11y vector-sfgzm 1/1 Running 0 2m - - │ │ o11y vector-w6l9v 1/1 Running 0 2m - - │ │╭ commands & resources (tab:next backtab:previous right:fill enter:run) ╮ 0 2m - - │ ││▌ roles │ 0 2m - - │ ││ rolebindings │ 0 2m - - │ ││ :rollout-history cmd │ 0 2m - - │ ││ :gitops cmd │ 0 2m - - │ ││ :reload cmd │ 0 2m - - │ ││ resourceclaims │Off 51 2m - - │ ││ resourcequotas │ 0 2m - - │ ││ resourceslices │ 0 2m - - │ ││ resourceclaimtemplates │ 0 2m - - │ ││ :ns-resources cmd │ 0 2m - - │ ││ deviceclasses.resource.k8s.io │ 0 2m - - │ ││ replicationcontrollers │ 0 2m - - │ │╰──────────────────────────────────────────────────────────────────────────╯ 0 2m - - │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ :ro█ Viewing pods ● live
╭ sofka · K8s Rev: v1.36.1 ────────────────────────────────────────────────────────────────────────────╮ /\ /\ │Context: kwok-demo enter containers l logs p prev logs │ / \_____/ \ │Cluster: https://127.0.0.1:32764/ s shell t transfer f port-fwd │ ( - - ) │Namespace: <all> y yaml d describe E events │ \ ᴥ / │Resource: pods e edit o node J owner │ \ \_/ / │Count: 29 X explain T timeline ctrl-d delete│ '-------' ╰──────────────────────────────────────────────────────────────────────────────────────────────────────╯ sofka v0.31.12 ╭ pods [29] ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮ │ NAMESPACE NAME READY STATUS RESTARTS AGE CPU MEM │ │▌ media catflix-78fd68f998-d8kq5 1/1 Running 0 2m - - │ │ media catflix-78fd68f998-xnwlp 1/1 Running 0 2m - - │ │ media hairball-encoder-799678ff88-qmdl6 0/1 CrashLoopBackOff 12 2m - - │ │ o11y vector-542wt 1/1 Running 0 2m - - │ │ o11y vector-sfgzm 1/1 Running 0 2m - - │ │ o11y vector-w6l9v 1/1 Running 0 2m - - │ │ o11y vector-z7hbp 1/1 Running 0 2m - - │ │ o11y victoria-metrics-0 1/1 Running 0 2m - - │ │ prod litterbox-agent-8cjsz 1/1 Running 0 2m - - │ │ prod litterbox-agent-g26qn 1/1 Running 0 2m - - │ │ prod litterbox-agent-thgfp 1/1 Running 0 2m - - │ │ prod litterbox-agent-xdrqf 1/1 Running 0 2m - - │ │ prod mouse-tracker-6f7b69b49-dv5gs 0/1 CrashLoopBackOff 51 2m - - │ │ prod mouse-tracker-6f7b69b49-hjldt 1/1 Running 0 2m - - │ │ prod mouse-tracker-6f7b69b49-p9k64 1/1 Running 0 2m - - │ │ prod nap-29317740-zmpxk 0/1 Succeeded 0 2m - - │ │ prod purr-gateway-64977bc6dd-l727c 1/1 Running 0 2m - - │ │ prod purr-gateway-64977bc6dd-xkxsg 1/1 Running 0 2m - - │ │ prod red-dot-chaser-5fd8fcbcc7-ftxbm 1/1 Running 0 2m - - │ │ prod red-dot-chaser-5fd8fcbcc7-wj7cn 1/1 Running 0 2m - - │ ╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯ tab/backtab: resources ::command ?:help /:filter S:sort space:mark esc:back Viewing pods ● live
Every frame on this page is real sofka 0.31.12 output, with empty rows trimmed, from a kwok cluster of Sophie’s microservices, kept as text. Select it.
skinscatppuccin, gruvbox, solarized, nord, dracula, tokyo-night, one-dark, rose-pine, monokai, flexoki, with a live preview in :skin.
configYAML or TOML, conf.d/ drop-ins, per-mode key bindings with conflict checks, Home Manager for Nix. Configuration guide →
:play Watch a real session.
A one-minute tour recorded byte for byte from sofka 0.31.12 on the same kwok cluster, in read-only mode. It asks X why mouse-tracker is degraded, jumps to the blocking pod, then visits Flux, an out-of-sync Argo CD Application, the Helm inspector and :pulse. Keypresses appear bottom right.
Scroll the player sideways to see all 120 columns. asciinema playback, no backend.
:plugins External tools, inside sofka.
Install reviewed packages from the official registry, run them as sofka commands, and read the results in searchable reports. Popeye and Trivy are there today; browse the catalog.
Install the external tool itself separately, then enter :reload in an open session. Downloads are checked for checksum and compatibility. Plugins run with your permissions; review does not add a sandbox.
sofka plugin searchsofka plugin describe popeyesofka plugin install popeye:sophie Why “sofka”
That’s Sophie, a Russian Blue. She sits behind the monitor and watches the screen. Constantly, not sometimes. She has the narrow-eyed look of someone who has seen a pod in CrashLoopBackOff. She catches every state change and doesn’t get distracted. She is, in effect, a cluster watchman that is a cat.
sofka is the Serbian short form of Sophia, which means “wisdom”. A good cluster TUI and a good cat both watch things closely, and both know when something is wrong.
:install Install
Binaries for macOS, Linux and Windows on aarch64 and x86_64, plus .deb, .rpm, .apk and Arch packages, on every release.
$ brew install nklmilojevic/sofka/sofka$ nix run github:nklmilojevic/sofka$ cargo install sofka$ sofka import k9sShell completion for Bash, Zsh, Fish, Elvish and PowerShell: sofka completion <shell> (setup). macOS Gatekeeper blocks unsigned tarballs downloaded in a browser; clear it once with xattr -d com.apple.quarantine sofka, or install with Homebrew or Nix. Details in the README.