Meet Kftray: My Attempt at Smoothing Out Kubernetes Port Forwarding

Henrique Cavarsan
2 min readDec 9, 2023

--

Diving into Kubernetes can sometimes feel like navigating a maze. Port forwarding is crucial for connecting services with development environments, but it’s often a repetitious and manual task. That recurring itch led me to develop Kftray — an simple tray application to help us monitor and manage these connections with less effort.

Written in Rust

I chose Rust for its reputation for creating fast and secure applications, and because, honestly, the safety guarantees it provides make me sleep better at night. My aim was to craft a small tool that keeping those numerous port-forwarding tasks neatly organized.

A Developer’s Reflection on Kftray

As someone who spends more time than I’d like to admit staring at screens filled with code, I wanted to create something that would just blend into the background — a proverbial ‘set it and forget it’ kind of tool. Development was as much about solving my own port-forwarding frustrations as it was about potentially helping others with similar issues.

A Simple Addition to Your Kubernetes Routine

With Kftray, the process is straightforward: the application lives in the system tray, ready to leap into action without commandeering your workspace.

It’s not about reinventing your Kubernetes practice; it’s about adding a small piece of functionality that you hardly notice until you need it.

Open Source

I hope it can make your port forwarding tasks just a bit easier, or maybe even inspire you to build upon it.

Give Kftray a try and see if it finds a place in your toolbox. Your feedbacks and code contributions are more than welcome. Find Kftray and its source code over at the GitHub repository

--

--