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

CKA study material · question 140 of 1000

What kind of Service does a StatefulSet use to control its Pods' DNS domain?

  1. A LoadBalancer Service
  2. A headless Service
  3. A NodePort Service
  4. An ExternalName Service
Show the answer

Answer: B. A headless Service

A headless Service owns the domain, giving each StatefulSet Pod a stable DNS subdomain.

Source: StatefulSets (Kubernetes) — Stable Network ID

Challenge yourself on this topic → Study as cards