MCPcopy Index your code
hub / github.com/alibaba/kt-connect

github.com/alibaba/kt-connect @v0.3.7

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.7 ↗ · + Follow
577 symbols 1,887 edges 128 files 199 documented · 34%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

KT-Connect

Go Build Status Go Report Card Test Coverage Maintainability Release License

English | 简体中文

KtConnect ("Kt" is short for "Kubernetes Toolkit") is a utility tool to help you work with Kubernetes dev environment more efficiently.

Arch

✅ Features

  • 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.

🚀 QuickStart

You can download and install the ktctl from Downloads And Install

Read the Quick Start Guide for more about this tool.

💡 Ask For Help

Please feel free to raise an issue if anything sucks, or go ahead to contact us with DingTalk(钉钉):

Extension points exported contracts — how you extend this code

Channel (Interface)
Channel network channel [1 implementers]
pkg/kt/service/sshchannel/types.go
Tunnel (Interface)
Tunnel ... [1 implementers]
pkg/kt/service/tun/types.go
Sshuttle (Interface)
Sshuttle ... [1 implementers]
pkg/kt/service/sshuttle/types.go
KubernetesInterface (Interface)
KubernetesInterface kubernetes interface [1 implementers]
pkg/kt/service/cluster/types.go

Core symbols most depended-on inside this repo

Ins
called by 113
pkg/kt/service/cluster/types.go
Error
called by 66
pkg/kt/service/tun/route_error.go
RunAndWait
called by 19
pkg/kt/util/run.go
GetService
called by 13
pkg/kt/service/cluster/types.go
Error
called by 13
pkg/common/dns_error.go
GetPodsByLabel
called by 12
pkg/kt/service/cluster/types.go
UsageTemplate
called by 11
pkg/kt/command/general/usage.go
RandomString
called by 11
pkg/kt/util/strings.go

Shape

Function 384
Method 144
Struct 45
Interface 4

Languages

Go100%

Modules by API surface

pkg/kt/service/cluster/types.go44 symbols
pkg/kt/service/cluster/pod.go20 symbols
pkg/kt/command/clean/common.go16 symbols
pkg/kt/util/system.go15 symbols
pkg/kt/command/options/options.go13 symbols
pkg/kt/service/cluster/cidr.go12 symbols
pkg/kt/util/strings.go11 symbols
pkg/kt/service/cluster/service.go11 symbols
pkg/kt/service/sshchannel/ssh.go10 symbols
pkg/kt/service/cluster/cidr_test.go10 symbols
pkg/kt/command/general/teardown.go10 symbols
pkg/kt/command/general/resource.go10 symbols

For agents

$ claude mcp add kt-connect \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page