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

CKA study material · question 203 of 1000

A Service is created with no selector. Which two statements are correct? Choose two.

  1. The API server rejects it
  2. It selects every Pod in the namespace
  3. The control plane creates no EndpointSlices for it
  4. An administrator can create an EndpointSlice by hand to point it somewhere
Show the answer

Answer: C. The control plane creates no EndpointSlices for it
D. An administrator can create an EndpointSlice by hand to point it somewhere

Without a selector no EndpointSlices are generated, so one is added manually to give the Service a backend.

Source: Service (Kubernetes) — Services without selectors

Challenge yourself on this topic → Study as cards