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

CKA study material · question 285 of 1000

Where is CoreDNS configured in a standard cluster?

  1. In the kubelet configuration
  2. In a file on each node under /etc/coredns
  3. In the coredns ConfigMap in kube-system
  4. In the kube-dns Service annotations
Show the answer

Answer: C. In the coredns ConfigMap in kube-system

CoreDNS reads a Corefile held in the coredns ConfigMap in kube-system, so DNS behaviour is changed by editing it.

Source: Customizing DNS Service (Kubernetes) — CoreDNS ConfigMap options

Challenge yourself on this topic → Study as cards