⚡ LFK is a lightning-fast, keyboard-focused, yazi-inspired terminal user interface for navigating and managing Kubernetes clusters. Built for speed and efficien
⚡ LFK is a lightning-fast, keyboard-focused, yazi-inspired terminal user interface for navigating and managing Kubernetes clusters. Built for speed and efficien
LFK is a keyboard-focused, yazi-inspired terminal user interface for navigating and managing Kubernetes clusters. It brings a three-column Miller columns layout with an owner-based resource hierarchy to your terminal.
Pick your platform:
…Then run it:
lfk
lfk --demolfk uses ~/.kube/config and ~/.kube/config.d/*. lfk --demo runs against a built-in fake cluster, so no kubeconfig is needed.
kubectl is required and must be configured. helm and trivy are optional, for Helm management and image vulnerability scanning.
docs/installation.md covers Docker, NixOS and home-manager, binary releases, building from source, and the full list of optional CLI dependencies.
# Start in a specific context / namespace
lfk --context my-cluster -n kube-system
# Use a specific kubeconfig
lfk --kubeconfig /path/to/kubeconfig
KUBECONFIG=/path/to/config1:/path/to/config2 lfk
# Use a custom directory for kubeconfigs (repeat the flag for multiple)
lfk --kubeconfig-dir /path/to/configs/
lfk --kubeconfig-dir /team-a/configs --kubeconfig-dir /team-b/configs
KUBECONFIG_DIR=/path/to/configs/ lfk
KUBECONFIG_DIR=/team-a/configs:/team-b/configs lfkdocs/usage.md has the full CLI reference and the runtime tuning options: mouse capture, no-color mode, read-only mode, watch-mode interval, discovery cache, and Secret lazy loading.
LFK is Apache-2.0 and stays free. I build it in my free time, and the tools it takes to build it are not free.
Do you use LFK at work? Ask your team to sponsor it. A company expenses this without noticing, and an individual feels it. Most clusters LFK gets pointed at are company clusters.
Sponsorship pays for the IDE licenses and AI assistants that go into development. More of it buys more hours for LFK.
Money is not the only way to help. Star the repo, file a good bug report, or tell one colleague who lives in kubectl.
Package repository hosting is graciously provided by Cloudsmith. Cloudsmith is a hosted package management service that stores and serves packages in many formats.
| Feature | |
|---|---|
| Pods | |
| Pods fullscreen | |
| Pod action menu | |
| Cluster Dashboard | |
| Object Explorer | |
| API Explorer |
| Feature | |
|---|---|
| YAML Viewer | |
| Log Viewer | |
| Log Top |
| Feature | |
|---|---|
| Helm integration | |
| ArgoCD integration | |
| ArgoCD AutoSync config | |
| Trivy integration |
| Feature | |
|---|---|
| Security Dashboard | |
| Crash Investigator | |
| Pod Startup Analysis | |
| Can-I RBAC permissions browser |
| Feature | |
|---|---|
| Label and annotation editor | |
| Quick filters | |
| Column visibility and reordering | |
| Bookmarks | |
| Multi-tab support | |
| Union view | |
| Local cluster management |
o, back with Backspace0 / 1 / 2F, expand or collapse groups with zCtrl+Shift chords: keybindings.mdCtrl+Option+Y to release capture: usage.mdargoproj.io, longhorn.iop: keybindings.mdx: config-reference.mdx, reveal hidden ones with H: config-reference.mdH: config-reference.mdt / ] / [: keybindings.md~/.kube/config, ~/.kube/config.d/*, and KUBECONFIG_DIR: usage.md@: config-reference.mdCtrl+N: keybindings.mdC: keybindings.md--read-only or Ctrl+R: usage.mdTab cycles Background / Foreground / Orphan / None: keybindings.mdU, reverse lookup with Tab: keybindings.mdx: logs, exec, attach, debug, scale, restart, delete, describe, edit, events, port-forward, vuln scan, PVC resize, Pod resize: keybindings.mdSpace, range with Ctrl+Space, then bulk delete, scale, or restart: keybindings.mdx -> z: features.md, keys in keybindings.mdx -> N, Cilium aware: keybindings.mdc on a Pod or Service: usage.mdf, search with /, in substring, regex, fuzzy, or literal modepvc, hpa, deploy: config-reference.md: for resource jumps, built-ins, kubectl, and shell: commands.md, autocomplete in features.md.: config-reference.md> / `` and ': keybindings.mdShift+Z across 11 kinds: usage.mdShift+Pm, writes stamped lfk:: config-reference.mdCtrl+K: features.mdO for the live object: keybindings.mdI for the resource schema: keybindings.mdv, relationship map with M, events with V plus warnings-only and grouping toggles: keybindings.mdb: quotas, PDBs, priority, node placement, and webhooks that would block or admit the resource: keybindings.mdL, fullscreen viewer with Ctrl+L: keybindings.mdf, severity filter i / o, structured preview P: keybindings.mdT: keybindings.mdx -> I: keybindings.mdCtrl+T cycles the mode: features.mdx -> s: usage.mda, built-ins plus your own: features.mdx -> T: features.mdy, copy-as picker Y, single field Ctrl+Y: keybindings.mdCtrl+P: keybindings.mdWCtrl+S, edit them decoded with e: keybindings.mdCtrl+GS: keybindings.mdT switches live: config-reference.mdNo open issues yet, or sync has not completed.