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

CKA study material · question 900 of 1000

kubectl top node returns "Metrics API not available". What is missing?

  1. RBAC permission on the nodes resource
  2. cAdvisor on each node
  3. The metrics-server addon, or another Metrics API implementation
  4. The --enable-aggregator-routing flag on the API server
Show the answer

Answer: C. The metrics-server addon, or another Metrics API implementation

kubectl top reads the Metrics API, which nothing serves until an implementation is deployed; metrics-server is the reference one and is an addon, not a built-in component.

Source: Resource metrics pipeline (Kubernetes) — Resource metrics pipeline (overview)

Challenge yourself on this topic → Study as cards