- Home
- All questions
- Question 861
CKA study material · question 861 of 1000
A Service has endpoints and its selector is correct, yet connections are refused. Which mismatch should be checked next?
Show the answer
Answer: B. The Service's targetPort against the Pod's containerPort
targetPort is where traffic actually lands on the Pod; when it does not match the container's port the Service has endpoints but nothing answers.
Source: Debug Pods (Kubernetes) — Debugging Services › My service is missing endpoints