Requirements
- socat
kubectl
with proper~/.kube/config
that can connect to your cluster- Working knowledge of
kubectl
client - OpenSSH client
How does it work?
kubectl
does port forwarding tosshd
port of your pod. I'm usingpm2
process managed to keep my services alive in my workstation container. If you have onlysshd
, easiest to use isdropbear
ProxyCommand
of OpenSSH client usessocat
to redirect two wayfd
-
to forwarded port ofkubectl
- Voila! You are in