- Home
- All questions
- Question 875
CKA study material · question 875 of 1000
A Service selects app=hostnames but its EndpointSlice shows no endpoints, while the Pods are Running. What should be inspected?
Show the answer
Answer: A. The Pods' labels, which may use a different key such as run=
An empty endpoint list means the Service's spec.selector does not match the Pods' metadata.labels; a key mismatch such as app= against run= is the classic case.
Source: Debug Services (Kubernetes) — Does the Service have any EndpointSlices?