kubectl port-forward deployment/<deployment-name> <internal-port>:<external-port>
kubectl port-forward --address 0.0.0.0 pod/mypod 8888:5000
# Change mongo-75f59d57f4-4nd6q to the name of the Pod
kubectl port-forward mongo-75f59d57f4-4nd6q 28015:27017
# To not choose the local port, let kubect do it for you and avoid
# port conflics.
kubectl port-forward <pod_name> :<pod_port>
kubectl -n kube-system port-forward $(kubectl -n kube-system get pods --selector "app.kubernetes.io/name=traefik" --output=name) 9000:9000