poor-man's vpn in k8s

Kubernetes option with port-forwarding is pretty handy to get into the internal network, but this access is scope limited to a single pod. How can we expand our access scope to get the same “view” as a pod ie. having access to database instance outside of kubernetes cluster ? This capability is presented by VPN connection, but sometimes with unnecessary complexity especially when you want to have one-time action. Now into the play comes an option called poor man’s VPN, maybe not so poor because Kubernetes itself deliver authentication and authorization capability to create that kind of connection. I’ve met three options:

comments powered by Disqus

powered by Hugo and Noteworthy theme