Skip to content

A small script that tunnel traffic from local host to a remote host via a kubernetes pod, using only dependency-free python on the pod

Notifications You must be signed in to change notification settings

jeromefellus-sekoia/py-kube-tunnel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-kube-tunnel

A small script that opens a full-duplex TCP tunnel from a local port to a remote host via a kubernetes pod, using only plain dependency-free python in the pod.

The script itself mostly behaves as ssh -L local_port:remote_host:remote_port some_gateway where some_gateway would be a k8s pod instead

USAGE

./proxy [kube_options...] <POD_NAME> [LOCAL_PORT:]REMOTE_HOST:REMOTE_PORT

About

A small script that tunnel traffic from local host to a remote host via a kubernetes pod, using only dependency-free python on the pod

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published