Sangmin Yoon

kforward - Lightweight k8s proxy for local dev

by
Tired of juggling kubectl port-forward? kforward is a lightweight local proxy letting you access K8s services using their real names during development. Automates forwarding via kubectl. Simple Go CLI. Simplify your local K8s dev workflow!

Add a comment

Replies

Best
Sangmin Yoon
Maker
📌
Hey Product Hunt! 👋 I'm Sangmin, maker of kforward. If you develop applications that need to talk to services inside Kubernetes, you've likely felt the pain of managing multiple kubectl port-forward commands. It's tedious, easy to mess up, and forces awkward localhost:PORT configurations in your local setup. I built kforward to solve this problem. It's a simple, lightweight Go CLI tool that runs a local HTTP proxy. You point kforward at the Kubernetes services (or a whole namespace) you need, set your system's proxy environment variables, and then your local application can access services using their actual Kubernetes DNS names (like my-service.my-namespace.svc.cluster.local). Under the hood, kforward automatically finds the right pods and manages the necessary kubectl port-forward processes for you, routing traffic seamlessly. The goal is to provide a much smoother local development experience when working with Kubernetes, reducing friction and letting you focus more on coding and less on managing tunnels. It's open-source, requires only Go and kubectl to build/run, and aims to be much simpler than heavier alternatives for this specific use case. Check out the GitHub repo for detailed usage and architecture: https://github.com/sanspareilsmy... Excited to share kforward with the Product Hunt community! I'd love to hear your thoughts, answer any questions. Let me know what you think!