🔥 3-day streak
Certified Kubernetes Administrator (CKA)124 / 125
Question 124 of 125

A backend application runs in pods that listen on container port 8080. A ClusterIP Service named 'api-svc' is defined with port 80 and targetPort 80. The pods are Running, readiness probes pass, and 'kubectl get endpoints api-svc' shows three healthy pod IPs listed. However, other pods that curl 'http://api-svc:80' consistently receive 'connection refused'. What is the most likely cause?

Reviewed for accuracy · Report an issueNext question