Private connection to pod web services
I am trying to understand how to connect to the pod in a way that only I have access. My plan:
- When deploying pods, I remove all exposed HTTP and TCP ports and leave fields empty. That will cause pod to not be public accessible at all (Would this work? or the machine will still be accessible through the ip?)
- I setup SSH connection and connect to the running pod through the ssh -L tunnel, mapping my local port to some port that I'll later use when starting the web service on the pod