Study. uk . com
  1. Home
  2. All questions
  3. Question 860

CKA study material · question 860 of 1000

A Service has no endpoints. What is the most direct way to confirm the cause?

  1. Restart kube-proxy on every node
  2. Check that the Service has a cluster IP allocated
  3. Recreate the Service with the same manifest
  4. List Pods using the Service's own selector
Show the answer

Answer: D. List Pods using the Service's own selector

No endpoints almost always means the selector matches nothing; running kubectl get pods with the same selector settles it immediately.

Source: Debug Pods (Kubernetes) — Debugging Services › My service is missing endpoints

Challenge yourself on this topic → Study as cards