Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hcavarsan/kftray

A cross-platform system tray application for managing multiple kubectl port-forward commands, with support for UDP and proxy connections through k8s clusters
https://github.com/hcavarsan/kftray

developer-tools devops devops-tools devtools k8s kftray kubectl kubernetes kubernetes-cluster-workload kubernetes-service networking port-forward port-forwarding proxy react rust tauri tray typescript vitejs

Last synced: 24 days ago
JSON representation

A cross-platform system tray application for managing multiple kubectl port-forward commands, with support for UDP and proxy connections through k8s clusters

Awesome Lists containing this project

README

        




kftray Logo



Visit kftray.app ยป




Join Slack


Latest Release


Total Downloads




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.

## Why

Both apps 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.

They automatically reconnect to running pods if one fails, also it 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.








Watch the video




Watch the video







## Features

- **Resilient Port Forwarding Connection:** Ensures continuous service even if a pod dies by reconnecting to another running pod automatically.
- **One-Click Multiple Port Forwards:** Allows for the setup of several port forwarding instances simultaneously with a single click.
- **Independent of Kubectl:** Directly interfaces with the Kubernetes API, eliminating the need for `kubectl`.
- **Multi-Protocol Support:** Enables access to internal or external servers through a Proxy Relay server deployed in a Kubernetes cluster, including TCP and UDP port forwarding.
- **HTTP Logs Tracing:** Enable or disable HTTP logs for specific configurations to save the requests and responses in a local log file. _(Currently available only in the kftray desktop app)_ - [Blog Post](https://kftray.app/blog/posts/6-debug-http-traffics-kftray)
- **GitHub Sync:** Keep your configurations saved on GitHub and share or synchronize them in a GitOps style. _(Currently available only in the kftray desktop app)_
- **Auto Import:** Automatically import Kubernetes service configurations based on specific annotations. An example with an explanation can be found in this repo: https://github.com/hcavarsan/kftray-k8s-tf-example


| 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 | โœ”๏ธ | โœ”๏ธ |
| Auto Import with k8s Annotations | โœ”๏ธ | โœ”๏ธ |


## kftray - Desktop App

- [INSTALL.md](https://github.com/hcavarsan/kftray/tree/main/docs/kftui/INSTALL.md)
- [USAGE.md](https://github.com/hcavarsan/kftray/tree/main/docs/kftray/USAGE.md)
- [BUILD.md](https://github.com/hcavarsan/kftray/tree/main/docs/kftray/BUILD.md)

## kftui - Terminal User Interface

- [INSTALL.md](https://github.com/hcavarsan/kftray/tree/main/docs/kftui/INSTALL.md)
- [USAGE.md](https://github.com/hcavarsan/kftray/tree/main/docs/kftui/USAGE.md)
- [BUILD.md](https://github.com/hcavarsan/kftray/tree/main/docs/kftui/BUILD.md)

## kftray server - Proxy Relay Server

- [ARCH.md](https://github.com/hcavarsan/kftray/tree/main/docs/ARCH.md).

## Contributing

- **Pull Requests:** Feel free to create pull requests for bug fixes, new features, or improvements.
- **Issues:** Report bugs, suggest new features, or ask questions.
- **Feedback:** Your feedback helps improve kftray.

## License

kftray is available under the [MIT License](LICENSE.md). See the LICENSE file for full details.

## Star History





Star History Chart

## Contributors โœจ

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):



Henrique Cavarsan
Henrique Cavarsan

๐Ÿ’ป
Filipe Andujar
Filipe Andujar

๐Ÿ’ป
Ikko Eltociear Ashimine
Ikko Eltociear Ashimine

๐Ÿ’ป

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!