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

CKA study material · question 404 of 1000

How does metrics-server obtain usage figures? Choose two.

  1. It discovers the nodes and queries each kubelet
  2. The kubelet gets the figures from the container runtime over CRI
  3. It reads them from etcd
  4. It scrapes each Pod's own metrics endpoint
Show the answer

Answer: A. It discovers the nodes and queries each kubelet
B. The kubelet gets the figures from the container runtime over CRI

metrics-server asks each kubelet, which fetches container statistics through CRI or reads them with cAdvisor code.

Source: Tools for Monitoring Resources (Kubernetes) — Resource metrics pipeline

Challenge yourself on this topic → Study as cards