Description
kubefwd is a command-line tool for port-forwarding many Kubernetes services at once, for local development. You can forward a single service, a whole namespace, several namespaces or several clusters, optionally filtered by label or field selector. Each service gets its own loopback address in the 127.x.x.x range, and the cluster hostname is written to /etc/hosts, so connection strings that work inside the cluster, such as http://api:8080 or redis-cli -h cache, resolve and work from your machine without changes. Several services can use the same port, for example multiple databases on 3306, because each has its own address. kubefwd watches Kubernetes events and reconnects automatically when pods change. It handles headless services with one address per pod, port remapping, custom domain suffixes and IP reservation. You can drive it from an interactive terminal interface with live traffic and log streaming, from a REST API with more than 40 endpoints, or through an MCP server for AI assistants. The project is licensed under Apache 2.0 and is on the CNCF Landscape. The documentation covers installation, configuration, troubleshooting and architecture.…
Highlights
- Bulk port-forwarding for Kubernetes services
- Unique loopback address per service
- Hostnames written to /etc/hosts
- Interactive TUI, REST API and MCP server
- Apache 2.0 license
Ratings & Reviews
No ratings yet
Be the first to rate Kubefwd.
People also visit
Kubefwd FAQ
What does kubefwd do?
It forwards many Kubernetes services to your computer at once, so local code can use the same connection strings as services inside the cluster.
Who is it for?
Developers who run local code against services in a Kubernetes cluster.
How are services reached?
Each service gets its own 127.x.x.x loopback address, and its hostname is written to /etc/hosts.
Can I forward several namespaces?
Yes. You can forward a single service, a namespace, several namespaces or several clusters, optionally filtered by label or field selector.
What interfaces does it have?
An interactive terminal UI with live traffic and logs, a REST API with more than 40 endpoints, and an MCP server for AI assistants.
What license is it under?
Apache 2.0. The README also says it has been on the CNCF Landscape since 2018.
What are the best Kubefwd alternatives?
Popular alternatives to Kubefwd include kftray, Krelay and Telepresence. See all Kubefwd alternatives




