hcavarsanOps & cloud

kftray

A desktop and TUI Kubernetes port-forward manager with automatic reconnection, multi-forward control, and TCP/UDP support.

  • DevOps
  • Backend
  • Automation
  • API debugging
  • Monitoring / Observability
  • Desktop
  • CLI
  • macOS
  • Linux
  • Runs locally
  • Docker supported
kftray screenshot
Popularity
1.6k Stars
GitHub stars
Recent activity
10/3/2026
Updated in the last 30 days
License
GPL-3.0
Strong copyleft

Why it matters

We look beyond stars: what problem it solves, whether it creates real utility, and what makes its approach worth noticing.

Last 90 days

Problem

Native kubectl port forwarding drops connections on pod restarts or network interruptions without automatic recovery or multi-port management, forcing manual intervention.

Practical value

Provides desktop and TUI clients with automatic reconnection on pod changes, TCP/UDP support, HTTP logging, and centralized configuration management.

Innovation / differentiation

Combines the Kubernetes watch API for lifecycle-aware auto-reconnection with cluster proxy relays for UDP forwarding and reverse tunneling.

Leverage potential

Consolidates dozens of port forwarding rules into a single interface or terminal, reducing multi-window overhead for daily cluster debugging.

Why now

Addresses persistent local debugging pain points in cloud-native development with mature graphical and terminal alternatives.

Community activity

In the last 90 days there were 2 new issues and 38 pull requests; the bounded issue/PR samples include 2 issue authors and 6 PR contributors, with at least 7 releases.

Maintainer responsiveness

The 2-issue window sample had a 100% close rate, and the 38-pull-request sample had a 63% merge rate. Maintainer-comment observations covered only 0% of that issue sample, so response rate and first-response speed are not reported.

6 contributors in PR sampleAt least 7 releasesPR merge rate 63% · 38 sampled in window

Key highlights

  • Reconnects forwards after pod replacement, rescheduling, or network recovery
  • Desktop kftray and terminal kftui share a Rust backend and configuration
  • Manages multiple forwards with TCP and UDP support through an in-cluster relay

Quick start

How it is installed, how hard it is, and where to start.

Where it runs

Runs locally

Difficulty

Medium — some setup needed

Docker supportedRuns locally
  1. 01Install the desktop app from the kftray download page, or install kftui via the documented Homebrew, Cargo, or release path.
  2. 02Select the kubeconfig/context and create one test forward to verify the target Service/Pod and local port.
  3. 03Add GitHub/annotation-based configuration only when sharing is useful; enable HTTP logs only for debugging and avoid sensitive payloads.

Best for

  • Developers who want to try it on their machine
  • People who prefer Docker deploys

More about it

kftray targets the operational gaps that appear when kubectl port-forward is used for more than a quick check: pod replacement breaks connections, multiple forwards become scattered across terminals, and UDP or inspection workflows need extra plumbing. The kftray desktop app and kftui terminal UI share a Rust backend and configuration format. They watch Kubernetes pod lifecycle events and can reconnect after pod changes, sleep, or network interruptions. Multiple forwards can be managed together, while an in-cluster relay adds TCP/UDP scenarios and configurations can be imported from GitHub or Kubernetes annotations. Optional HTTP request/response logging helps debugging, but the README explicitly warns that those logs may expose sensitive data and should be enabled selectively and sanitized.

Sources

Each field shows its status and source — expand to review.

12 · Expand
  • capability tags

    Verified

    automation, api_debugging, monitoring

    Source: admin_cms · cms editor · 8/17/2026

  • Latest release

    Verified

    v0.29.2

    Source: GitHub API · latest_release=v0.29.2 · 10/3/2026

  • License

    Verified

    GPL-3.0

    Source: GitHub API · license.spdx_id=GPL-3.0 · 10/3/2026

  • needs api key

    Verified

    No

    Source: admin_cms · cms editor · 8/17/2026

  • One-liner

    Verified

    {"en":"A desktop and TUI Kubernetes port-forward manager with automatic reconnection, multi-forward control, and TCP/UDP support.","zh":"面向 Kubernetes 的桌面端/TUI 端口转发工具,可在 Pod 变化或网络恢复后自动重连,并集中管理多条 TCP/UDP 转发。"}

    Source: admin_cms · cms editor · 8/17/2026

  • Platforms

    Verified

    macos, linux

    Source: admin_cms · cms editor · 8/17/2026

  • Category hint

    Inferred from materials

    security

    Source: Project README · hint=security · 8/17/2026

  • product forms

    Verified

    desktop, cli

    Source: admin_cms · cms editor · 8/17/2026

  • role tags

    Verified

    devops, backend

    Source: admin_cms · cms editor · 8/17/2026

  • supports docker

    Verified

    Yes

    Source: Repository file · dockerfile=true; compose=false · 10/3/2026

  • supports local

    Verified

    Yes

    Source: admin_cms · cms editor · 8/17/2026

  • supports self host

    Verified

    No

    Source: admin_cms · cms editor · 8/17/2026

Other verified projects matched by category, capabilities, and intended roles.