Press "Enter" to skip to content

Port Forwarding in Kubernetes

Andrew Pruski shows off Kubernetes port forwarding and how to connect to a SQL Server instance:

The load balanced service’s IP can be usually be used to connect into the SQL instance running in the pod, but what if we’re unable to connect? Does the issue lie with the service or the pod?

In order to narrow this down, port forwarding can be used to directly connect to the pod: –

Read the whole thing.