feat(kube-portforward): introduce standalone websocket port-forward crate#634
feat(kube-portforward): introduce standalone websocket port-forward crate#634hcavarsan wants to merge 1 commit into
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
57e2634 to
fc0ec75
Compare
fb34c45 to
36bde88
Compare
fc0ec75 to
f71784b
Compare
e3e9255 to
4f4346a
Compare
f71784b to
4c9d655
Compare
4f4346a to
bf00f8e
Compare
bf00f8e to
acb75d0
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions. |

Stack Context
This stack restructures the
websocket-pfbranch into 11 atomic PRs.The goal is to extract a standalone
kube-portforwardcrate (OSS-readyWebSocket port-forwarder for Kubernetes) and rebuild kftray's port-forward
path on top of it, with a new HTTP proxy in kftray-server.
Stack order (bottom to top):
Why?
Extracts the WebSocket port-forward implementation into an independent, publishable crate.
kube-portforwardspeaks both v4 and v5 channel-mux subprotocols (KEP-4006), multiplexes N local TCP connections over a single WebSocket upgrade, includes keepalive, graceful shutdown, session recovery, and pod watching. Decoupled from kftray's internal state so it can be used as a library by other projects.What?
crates/kube-portforward/(new: Cargo.toml, MIT+Apache licenses, README, 4 examples, 18 src files)