Update debug-application.md (#17066)

A Service has targetPort to indicated Pod's containerPort (service.spec.ports.targetPort)
This commit is contained in:
j-zimnowoda
2019-11-26 06:31:10 +01:00
committed by Kubernetes Prow Robot
parent e26dd31892
commit 8d15eaa3b6
@@ -177,7 +177,7 @@ If the list of pods matches expectations, but your endpoints are still empty, it
have the right ports exposed. If your service has a `containerPort` specified, but the Pods that are
selected don't have that port listed, then they won't be added to the endpoints list.
Verify that the pod's `containerPort` matches up with the Service's `containerPort`
Verify that the pod's `containerPort` matches up with the Service's `targetPort`
#### Network traffic is not forwarded