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

CKA study material · question 277 of 1000

A Pod sets dnsPolicy None. Where must its nameservers come from?

  1. The node's /etc/resolv.conf
  2. The kubelet's --cluster-dns flag
  3. Its dnsConfig field
  4. The cluster's CoreDNS ConfigMap
Show the answer

Answer: C. Its dnsConfig field

dnsPolicy None ignores the cluster's DNS settings, so every nameserver and search domain comes from dnsConfig.

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

Challenge yourself on this topic → Study as cards