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

CKA study material · question 397 of 1000

Why can the API server's logs be read with kubectl logs in a kubeadm cluster?

  1. Because the kubelet proxies its journal
  2. Because kubectl reads /var/log directly
  3. Because it runs as a static Pod
  4. Because it writes to the API's log subresource
Show the answer

Answer: C. Because it runs as a static Pod

Control-plane components run as static Pods, so kubectl logs reaches them; the kubelet's own logs do not work that way.

Source: Logging Architecture (Kubernetes) — System component logs

Challenge yourself on this topic → Study as cards