Port forward to Pods

Port forward to Pods

Port Forward

Motivation

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 February 18, 2023: Fix some small doc typos (31e6c04)