- Home
- All questions
- Question 711
CKA study material · question 711 of 1000
A hand-written EndpointSlice named my-service-1 exists alongside a selectorless Service named my-service, but the Service still shows no endpoints. What is most likely wrong?
Show the answer
Answer: A. The EndpointSlice lacks the kubernetes.io/service-name label
An EndpointSlice is associated with its Service by the kubernetes.io/service-name label; the naming convention is only a convention.
Source: Service (Kubernetes) — Defining a Service › Services without selectors