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

CKA study material · question 283 of 1000

Which kubelet flags configure a container's DNS? Choose two.

  1. --cluster-dns names the resolver
  2. --cluster-domain names the local domain
  3. --dns-policy sets the default policy
  4. --resolver-address sets the upstream server
Show the answer

Answer: A. --cluster-dns names the resolver
B. --cluster-domain names the local domain

The kubelet passes the resolver through --cluster-dns and the local domain through --cluster-domain.

Source: Customizing DNS Service (Kubernetes) — Introduction

Challenge yourself on this topic → Study as cards