Skip to content

txn2/kubefwd

v1.25.7 Feature

This release adds 2 notable features for engineering teams evaluating rollout.

✓ No known CVEs patched
Read the diff → Tool health → What is this tool? →

✓ No known CVEs patched in this version

Topics

api-rest developer-tools devops devops-tools devtools kubernetes
+8 more
kubefwd kubernetes-clusters kubernetes-namespace mcp-server networking port-forward port-forwarding proxy

Summary

AI summary

TUI Browse Modal adds interactive service discovery and forwarding.

Full changelog

TUI Browse Modal

Introduces an interactive Browse Modal for discovering and forwarding Kubernetes services directly from the TUI. Press f to open a hierarchical browser that navigates through contexts, namespaces, and services - then forward individual services or entire namespaces without leaving the interface.

Browse Modal Features

  • Three-level navigation: Contexts → Namespaces → Services
  • Forward services on demand: Select any service and press Enter to start forwarding
  • Bulk forwarding: "Forward All" option forwards every service in a namespace
  • Visual indicators: Already-forwarded services show a checkmark (✓)
  • Port display: See service ports before forwarding
  • Context switching: Press c to switch Kubernetes contexts

Keyboard Shortcuts

| Key | Action |
|-----|--------|
| f | Open browse modal |
| j / | Move down |
| k / | Move up |
| g | Jump to top |
| G | Jump to bottom |
| Enter / | Select / Forward service |
| Esc / / q | Go back / Close |
| c | Switch Kubernetes context |

Use Case

Start kubefwd with minimal namespaces, then dynamically add services as needed:

# Start with one namespace
sudo -E kubefwd svc -n default --tui

# Press 'f' to browse, navigate to another namespace,
# and forward additional services on demand

Bug Fixes

Pod Logs Streamer Reliability

Fixed nil interface issues with clientSet initialization in the TUI pod logs streamer. Improved namespace manager integration ensures reliable log streaming.

Log Spam Prevention

ServiceFWD now tracks "no pods" warnings with a flag to prevent repeated log messages. The flag resets when pods become available, allowing future warnings if pods disappear again.

Test Coverage Improvements

Significant expansion of TUI test coverage:

| Package | Before | After |
|---------|--------|-------|
| pkg/fwdtui | 4.63% | 74.8% |
| pkg/fwdtui/events | — | 100.0% |
| pkg/fwdtui/state | — | 97.9% |
| Overall | 60.65% | 67.6% |

New test files:

  • browse_test.go — 1,277 lines covering BrowseModel navigation, loading states, error handling
  • tui_test.go — 1,712 lines covering RootModel, event handling, and UI components

Documentation

Updated API reference and OpenAPI specification with documentation for Kubernetes pod debugging and event endpoints (no new code, documentation only).

CI Updates

  • Updated GitHub Actions dependencies for security and compatibility
  • Pinned codeql-action/upload-sarif version in Scorecard workflow

No MCP/API Code Changes

This release contains no changes to the MCP server or REST API functionality. All MCP tools (29 total) continue to work as documented in v1.25.6.

Changes

  • Add TUI Browse Modal for interactive service discovery (#358)
  • Add API documentation for Kubernetes pod/event endpoints (#357)
  • Code quality improvements (#353, #354, #355)
  • Documentation housekeeping (#356)
  • CI dependency updates (#345, #346, #347, #348, #349)

Full Changelog

https://github.com/txn2/kubefwd/compare/v1.25.6...v1.25.7

Changelog

  • 269f550be28f9a02d633b216348b74fdf67dd94f Add Kubernetes pod debugging and event APIs (#357)
  • 3f0f812ea9afd40a21122c19447dcb4cd9a90345 Documentation and badge housekeepin (#352)
  • f259e34b8e73c1c06d1cd3aaa8a17348a7c04053 Housekeeping/documentation (#356)
  • addd28942ac26db49e9d01ebcab9b44e99bfe7ca Potential fixes for 2 code quality findings (#353)
  • fc2215f2cf43d1be23e6d287e1fb140364fe34a3 Potential fixes for 3 code quality findings (#354)
  • 56ad479edd2338e1a52571929f2da2de556bcf45 Potential fixes for 3 code quality findings (#355)
  • 1351ad171ee32b8842bcd32a233e64ec69785dc5 TUI Browse Modal & Tests (#358)
  • ebe298ba89dda690333a418a2ac0edd3896b142a ci: bump actions/setup-python from 5.3.0 to 6.1.0 (#349)
  • 76a9fad79cd061ed8cc7ed96712673199524388e ci: bump actions/upload-artifact from 4.6.1 to 6.0.0 (#345)
  • 118f9ded866e9ff942fb9d1dd0273f5ef82ac1fb ci: bump anchore/sbom-action from 0.18.0 to 0.21.0 (#347)
  • a15b5f10f0b09a9260cf8eb68aaf11764bd5088d ci: bump docker/setup-buildx-action from 3.7.1 to 3.12.0 (#348)
  • 49b7db3c81e903b29e6d8208a0ad79ed9911e19e ci: bump sigstore/cosign-installer from 3.7.0 to 4.0.0 (#346)

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

Share this release

Track txn2/kubefwd

Get notified when new releases ship.

Sign up free

About txn2/kubefwd

Kubernetes bulk port forwarding with service discovery, /etc/hosts management, traffic monitoring, and pod log streaming

All releases →

Related context

Beta — feedback welcome: [email protected]