nerdexam
Linux_Foundation

KCNA · Question #151

What is the API that exposes resource metrics from the metrics-server?

The correct answer is C. metrics.k8s.io. The Kubernetes metrics-server exposes core resource metrics (CPU and memory usage for nodes and pods) through the metrics.k8s.io API group. This API is used by the Horizontal Pod Autoscaler (HPA) and the kubectl top command. custom.k8s.io (A) is not a standard Kubernetes API…

Submitted by jaden.t· May 4, 2026Cloud Native Observability

Question

What is the API that exposes resource metrics from the metrics-server?

Options

  • Acustom.k8s.io
  • Bresources.k8s.io
  • Cmetrics.k8s.io
  • Dcadvisor.k8s.io

How the community answered

(26 responses)
  • A
    8% (2)
  • C
    88% (23)
  • D
    4% (1)

Explanation

The Kubernetes metrics-server exposes core resource metrics (CPU and memory usage for nodes and pods) through the metrics.k8s.io API group. This API is used by the Horizontal Pod Autoscaler (HPA) and the kubectl top command. custom.k8s.io (A) is not a standard Kubernetes API. resources.k8s.io (B) does not exist as a metrics API. cadvisor.k8s.io (D) is not a valid API group - cAdvisor is an underlying component that collects metrics, but it is not exposed directly via that API group name.

Topics

#metrics-server#Kubernetes API#Resource Monitoring#Observability

Community Discussion

No community discussion yet for this question.

Full KCNA Practice