- Home
- All questions
- Question 388
CKA study material · question 388 of 1000
A Service uses a named targetPort but no traffic arrives. What must be true of the Pods?
Show the answer
Answer: A. They must expose a port with that exact name
A named targetPort only resolves when the Pods expose a port carrying that name.
Source: Debug Services (Kubernetes) — Is the Service defined correctly?