Skip to content

gfleury/k8s-ssh-tunnel-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSH Tunnel as a Kubernetes Service

Creates a Kubernetes Service/Deployment/ConfigMap allowing to have SSH tunnels as Kubernetes services. For development environments with Kubernetes.

Example:

Run:

$ ssh-client.py 3306:internal-mysql.example.com:3306 [email protected] ~/.ssh/id_rsa ssh-tunnel-service-mysql
$ kubectl apply -f ssh-tunnel-service-mysql.yaml

Next step your Kubernetes cluster should have a service available with the hostname ssh-tunnel-service-mysql.svc.cluster.local listening to the port 3306.

Licence

MIT

About

SSH Tunnel as a Kubernetes Service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages