nerdexam
Linux_Foundation

KCNA · Question #69

Which tools enable Kubernetes HorizontalPodAutoscalers to use custom, application-generated metrics to trigger scaling events?

The correct answer is A. Prometheus and the prometheus-adapter. Prometheus, combined with the prometheus-adapter, allows Kubernetes HorizontalPodAutoscalers (HPAs) to access and utilize custom metrics for dynamic scaling decisions.

Submitted by diego_uy· May 4, 2026Container Orchestration

Question

Which tools enable Kubernetes HorizontalPodAutoscalers to use custom, application-generated metrics to trigger scaling events?

Options

  • APrometheus and the prometheus-adapter.
  • BGraylog and graylog-autoscaler metrics.
  • CGraylog and the kubernetes-adapter.
  • DGrafana and Prometheus.

How the community answered

(29 responses)
  • A
    90% (26)
  • B
    7% (2)
  • C
    3% (1)

Why each option

Prometheus, combined with the prometheus-adapter, allows Kubernetes HorizontalPodAutoscalers (HPAs) to access and utilize custom metrics for dynamic scaling decisions.

APrometheus and the prometheus-adapter.Correct

Prometheus is a popular monitoring system used to collect metrics, and the prometheus-adapter exposes these custom metrics to the Kubernetes API in a format that the HorizontalPodAutoscaler can consume. This enables HPAs to scale Pods based on application-specific metrics not natively supported by Kubernetes.

BGraylog and graylog-autoscaler metrics.

Graylog is primarily a log management platform, and `graylog-autoscaler metrics` is not a standard Kubernetes component for exposing custom metrics to HPAs.

CGraylog and the kubernetes-adapter.

While Graylog is a logging tool, the `kubernetes-adapter` specifically designed for custom metrics typically refers to the Prometheus adapter, not a Graylog integration for HPA custom metrics.

DGrafana and Prometheus.

Grafana is a visualization tool that works with Prometheus, but it does not directly expose metrics to the Kubernetes HPA API; the prometheus-adapter fulfills that role.

Concept tested: Kubernetes HPA custom metrics integration

Source: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-custom-metrics

Topics

#HPA#Custom Metrics#Prometheus#Autoscaling

Community Discussion

No community discussion yet for this question.

Full KCNA Practice