Forward to a selected pod from a deployment.
Section: Services and Ingress
Port-forward deployment
bash
bash
kubectl port-forward deployment/web 8080:8080 -n paymentsExplanation
Forward to a selected pod from a deployment.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Services and Ingress