How do you do the forwarding? (That’s an interesting question to me by itself, but I ask because it seems like that feature is just as good outside of k8s too :))
https://stackoverflow.com/questions/50645059/is-kubectl-port...
And socat is mentioned in:
https://github.com/kubernetes/kubectl/blob/master/pkg/cmd/po...
I didn't actually manage to find out what or how socat is called - but I'm also on mobile, so it's a little convoluted to browse source code.
Anyone know where the call to socat happens, after kubectl port-forward?
Someone else mentioned that kubectl port-forward also adds these for you, so if you are not in a private cluster, it may be a better option.
then M-x slime-connect localhost 4005
BTW, here's a k8s-hosted app I wrote using this approach: https://github.com/atgreen/red-light-green-light