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

CKA study material · question 249 of 1000

A newly created Service has no endpoints and connections to it fail. What should be checked first?

  1. Whether kube-proxy is in nftables mode
  2. Whether an Ingress class is set
  3. Whether the selector matches any Pod labels
  4. Whether the cluster IP is in range
Show the answer

Answer: C. Whether the selector matches any Pod labels

A Service selects Pods by label; a selector matching nothing leaves the Service with no endpoints.

Source: Service (Kubernetes) — Defining a Service

Challenge yourself on this topic → Study as cards