English | 简体中文
KtConnect ("Kt" is short for "Kubernetes Toolkit") is a utility tool to help you work with Kubernetes dev environment more efficiently.
Connect: Directly Access a remote Kubernetes cluster. KtConnect use ssh-vpn or socks-proxy to access remote Kubernetes cluster networks.Exchange: Developer can exchange the workload to redirect the requests to a local app.Mesh: You can create a mesh version service in local host, and redirect specified workload requests to your local.Preview: Expose a local running app to Kubernetes cluster as a common service, all requests to that service are redirect to local app.
You can download and install the ktctl from Downloads And Install
Read the Quick Start Guide for more about this tool.
This project requires Go 1.18 to compile. Building with newer Go versions (e.g. 1.24) will fail due to incompatible dependencies (gvisor and go-shadowsocks2).
If you only have a newer Go installed, use the official Go toolchain manager to install 1.18 side-by-side:
go install golang.org/dl/go1.18@latest
go1.18 download
# Build with Go 1.18
GOPROXY=https://goproxy.cn,https://proxy.golang.org,direct go1.18 build -o ktctl ./cmd/ktctl/The go1.18 binary is installed to ~/go/bin/go1.18 and does not affect your system Go.
Please feel free to raise an issue if anything sucks, or go ahead to contact us with DingTalk(钉钉):

