Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

lfk

> 云原生
Open source

⚡ LFK is a lightning-fast, keyboard-focused, yazi-inspired terminal user interface for navigating and managing Kubernetes clusters. Built for speed and efficien

741 stars0 likes2 views
WebsiteGitHub

About

⚡ LFK is a lightning-fast, keyboard-focused, yazi-inspired terminal user interface for navigating and managing Kubernetes clusters. Built for speed and efficien

:zap: LFK - Lightning Fast Kubernetes navigator

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.

Install

Pick your platform:

…

Then run it:

bash
lfk
lfk --demo

lfk 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.

Usage

bash
# 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 lfk

docs/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.

Sponsor

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.

  • GitHub Sponsors
  • Buy Me a Coffee

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.

Screenshots

Demo

Themes

Explorer

Feature
Pods
Pods fullscreen
Pod action menu
Cluster Dashboard
Object Explorer
API Explorer

Viewers

Feature
YAML Viewer
Log Viewer
Log Top

Integrations

Feature
Helm integration
ArgoCD integration
ArgoCD AutoSync config
Trivy integration

Analysis

Feature
Security Dashboard
Crash Investigator
Pod Startup Analysis
Can-I RBAC permissions browser

Workspace

Feature
Label and annotation editor
Quick filters
Column visibility and reordering
Bookmarks
Multi-tab support
Union view
Local cluster management

Features

Navigation

  • Three-column Miller columns layout: parent, current, preview
  • Owner-based hierarchy: Clusters -> Resource Types -> Resources -> Owned Resources -> Containers
  • Jump to a resource's owner with o, back with Backspace
  • Teleport between levels with 0 / 1 / 2
  • Cycle the layout with F, expand or collapse groups with z
  • Vim keybindings throughout, remappable, including Ctrl+Shift chords: keybindings.md
  • Mouse click, scroll, and Ctrl+Option+Y to release capture: usage.md

Resource type list

  • Groups: Dashboards, Workloads, Networking, Config, Storage, Hardware, ArgoCD, Helm, Access Control, Cluster, Custom Resources
  • Discovered CRDs grouped by API group, for example argoproj.io, longhorn.io
  • Pin a type with p: keybindings.md
  • Pin a type's dashboard summary with x: config-reference.md
  • Hide or show a single type with x, reveal hidden ones with H: config-reference.md
  • Rarely used types (CSI internals, webhooks, APF, leases) hidden until H: config-reference.md
  • Status summary band under the hovered type: features.md

Clusters and contexts

  • Multi-tab workspace with t / ] / [: keybindings.md
  • Merged kubeconfig from ~/.kube/config, ~/.kube/config.d/*, and KUBECONFIG_DIR: usage.md
  • Union view merging several clusters into one table: union-context.md
  • Cluster Dashboard on entering a context: config-reference.md
  • Monitoring dashboard with Prometheus and Alertmanager alerts, @: config-reference.md
  • Local kind, k3d, and minikube clusters with Ctrl+N: keybindings.md
  • Named sessions with C: keybindings.md
  • Context, namespace, filter, and cursor row restored on start: config-reference.md

Safety

  • Read-only mode via --read-only or Ctrl+R: usage.md
  • Actions your RBAC refuses are dropped from the action menu: usage.md
  • Security dashboard and SEC badges from Trivy, Kyverno, Kubescape, Falco, Gatekeeper, and three built-in scanners: security.md
  • Delete cascade picker, Tab cycles Background / Foreground / Orphan / None: keybindings.md
  • Scope, Availability, and Risk rows on the delete, drain, and scale dialogs: keybindings.md
  • RBAC browser with U, reverse lookup with Tab: keybindings.md

Resource actions

  • Action menu x: logs, exec, attach, debug, scale, restart, delete, describe, edit, events, port-forward, vuln scan, PVC resize, Pod resize: keybindings.md
  • Multi-select with Space, range with Ctrl+Space, then bulk delete, scale, or restart: keybindings.md
  • Custom shell actions per resource type: config-reference.md
  • Port forwarding, with active forwards listed under the Networking group: keybindings.md
  • Right-sizing Advisor with x -> z: features.md, keys in keybindings.md
  • Network policy visualizer with x -> N, Cilium aware: keybindings.md
  • Traffic capture with c on a Pod or Service: usage.md

Finding things

  • Filter with f, search with /, in substring, regex, fuzzy, or literal mode
  • Abbreviated jumps such as pvc, hpa, deploy: config-reference.md
  • Command bar : for resource jumps, built-ins, kubectl, and shell: commands.md, autocomplete in features.md
  • Quick filter presets with .: config-reference.md
  • Sorting with > / `` and ': keybindings.md
  • Orphan detection with Shift+Z across 11 kinds: usage.md

Viewers

  • YAML preview in the right column, details summary with Shift+P
  • Fullscreen YAML Viewer with search, folding, and in-place editing: keybindings.md
  • Field-manager blame with m, writes stamped lfk:: config-reference.md
  • Schema side pane with Ctrl+K: features.md
  • Object Explorer with O for the live object: keybindings.md
  • API Explorer with I for the resource schema: keybindings.md
  • Describe with v, relationship map with M, events with V plus warnings-only and grouping toggles: keybindings.md
  • Constraints view with b: quotas, PDBs, priority, node placement, and webhooks that would block or admit the resource: keybindings.md

Logs and shells

  • Live-log preview pane with L, fullscreen viewer with Ctrl+L: keybindings.md
  • Text filter f, severity filter i / o, structured preview P: keybindings.md
  • Log Top aggregates access logs into a metrics table, T: keybindings.md
  • Crash Investigator with x -> I: keybindings.md
  • Embedded terminal for exec and shell, Ctrl+T cycles the mode: features.md
  • Node shell with x -> s: usage.md

Creating and copying

  • Resource templates with a, built-ins plus your own: features.md
  • Export a live object as a template with x -> T: features.md
  • Copy name y, copy-as picker Y, single field Ctrl+Y: keybindings.md
  • Apply a manifest from the clipboard with Ctrl+P: keybindings.md
  • Save the selected manifest to a file with W
  • Decode Secrets with Ctrl+S, edit them decoded with e: keybindings.md
  • Finalizer search and removal with Ctrl+G

Integrations

  • Argo CD: browse Applications, sync, terminate, refresh: features.md
  • Argo Workflows: suspend, resume, stop, resubmit, submit from a template: features.md
  • Helm: browse releases, values, diff, upgrade, rollback, uninstall: keybindings.md
  • HPA scaling overlay with S: keybindings.md
  • KEDA: pause and unpause ScaledObjects and ScaledJobs: features.md
  • External Secrets: force refresh: features.md
  • CRD discovery, grouped by API group

Appearance

  • 460+ built-in color schemes from ghostty themes, T switches live: config-reference.md
  • Auto dark and light switching with the OS appearance: config-reference.md
  • Custom theme colors, Tokyonight by default: config-reference.md
  • Icon modes: auto, unicode, nerdfont, simple, emoji, none: config-reference.md
  • Status colors on rows and CRD printer columns: features.md
  • Row status tint when the Status column is hidden: config-reference.md
  • Transparent ba

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Gok8skubectlkubernetestui

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category云原生
PricingOpen source

> Related tools

K
Kubernetes
容器编排事实标准
H
Helm
Kubernetes 包管理器
S
seaweedfs
SeaweedFS is a distributed storage system for object storage (S3), file systems, and Iceberg tables,