An open-data portal Service listens on port 80 for clients but containers listen on port 8080. How should the Service map those ports?
Select an answer to reveal the explanation.
Short Explanation
Clients dial extension 80; the app's desk is 8080 — port is the directory number, targetPort is the real desk.
Full Explanation
In a Service port definition, port is the port clients use on the Service VIP/DNS name, and targetPort is the port on the Pod/container that receives the traffic. Mapping 80→8080 is the standard pattern when containers do not listen on the externalized Service port.