Port forward to Pods

Port forward to Pods

Port Forward


Connect to ports of Pods running a cluster by port forwarding local ports.

Forward Multiple Ports

Listen on ports 5000 and 6000 locally, forwarding data to/from ports 5000 and 6000 in the pod

kubectl port-forward pod/mypod 5000 6000

Last modified October 31, 2020: docs render fix (cd35140b)