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

CKA study material · question 772 of 1000

A Pod manifest omits dnsPolicy entirely. Which policy applies?

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

Answer: C. ClusterFirst

Despite its name, Default is not the default: a Pod that names no dnsPolicy gets ClusterFirst. Default is the policy that copies the node's own resolver configuration.

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

Challenge yourself on this topic → Study as cards