hcavarsan / kftray

manage multiple kubectl port-forward commands, with support for UDP, K8s proxy, and github state sync.
https://kftray.app/
MIT License
739 stars 70 forks source link
developer-tools devops devops-tools devtools k8s kftray kubectl kubernetes kubernetes-cluster-workload kubernetes-service networking port-forward port-forwarding proxy rust tauri tray typescript vite

KFtray Logo

Visit kftray.app »

KFtray and KFtui are independent, cross-platform applications. They help you set up and manage multiple port-forwarding settings easily. Both apps are part of the same open-source project and aim to make working with Kubernetes easier. KFtray has a desktop interface, while KFtui has a terminal interface, so you can choose the one that suits you best.

KFtray

[![Watch the video](https://img.youtube.com/vi/H6UJCfUr8yE/maxresdefault.jpg)](https://youtu.be/H6UJCfUr8yE)

KFtui

[![Watch the video](https://img.youtube.com/vi/d-Je34Hy5Lo/maxresdefault.jpg)](https://youtu.be/d-Je34Hy5Lo)

❓ Why

KFtray and KFtui were made to fix common problems with Kubernetes port forwarding. The usual kubectl port-forward command can be unreliable. For example, if a pod dies, it needs manual reconnection. It also has trouble setting up many port forwards at once and doesn't support UDP services.

KFtray and KFtui solve these issues by being more reliable and easier to use. They automatically reconnect to running pods if one fails, allow setting up multiple port forwards with one click, and support both TCP and UDP protocols. KFtray also has extra features like HTTP logs tracing and GitHub sync to make workflows smoother.

📑 Table of Contents

✨ Features

🗂 Features Matrix

| Feature | KFtray (Desktop App) | KFtui (Terminal UI) | |----------------------------------------------|----------------------|---------------------| | Resilient Port Forwarding Connection | ✔️ | ✔️ | | One-Click Multiple Port Forwards | ✔️ | ✔️ | | Independent of Kubectl | ✔️ | ✔️ | | Multi-Protocol Support (TCP/UDP) | ✔️ | ✔️ | | HTTP Logs Tracing | ✔️ | ❌ (Coming Soon) | | GitHub Sync | ✔️ | ❌ (Coming Soon) | | Local JSON File Configuration | ✔️ | ✔️ |

🛠 Installation

📚 Usage

🛠️ Build from source

🏗 Architecture

For an overall architectural review, check ARCH.md.

👥 Contributing

📄 License

KFtray is available under the MIT License. See the LICENSE file for full details.

Star History

Star History Chart

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Henrique Cavarsan
Henrique Cavarsan

💻
Filipe Andujar
Filipe Andujar

💻
Ikko Eltociear Ashimine
Ikko Eltociear Ashimine

💻

This project follows the all-contributors specification. Contributions of any kind welcome!