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

CKA study material · question 274 of 1000

Which dnsPolicy is used when a Pod does not set one?

  1. Default
  2. ClusterFirstWithHostNet
  3. None
  4. ClusterFirst
Show the answer

Answer: D. ClusterFirst

ClusterFirst is the default; despite the name, the Default policy inherits the node's resolver instead.

Source: DNS for Services and Pods (Kubernetes) — Pod's DNS Policy

Challenge yourself on this topic → Study as cards