Forward a local port to a service
Forwards a local port to the pod or service so that you can reach it from your machine.
kubectl port-forward svc/my-service 8080:80Edit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)