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

CKA study material · question 284 of 1000

What does the kubelet's --resolv-conf flag control? Choose two.

  1. It selects the cluster domain for Service names
  2. It sets the ndots value in each Pod's resolv.conf
  3. Setting it to an empty string stops Pods inheriting the node's DNS
  4. Setting it to a file path changes which file Pods inherit from
Show the answer

Answer: C. Setting it to an empty string stops Pods inheriting the node's DNS
D. Setting it to a file path changes which file Pods inherit from

An empty string prevents DNS inheritance and a path names a file other than /etc/resolv.conf.

Source: Customizing DNS Service (Kubernetes) — Introduction

Challenge yourself on this topic → Study as cards