Kubernetes and Cloud Native Associate (KCNA) — Question 85
Which tools enable Kubernetes HorizontalPodAutoscalers to use custom, application-generated metrics to trigger scaling events?
Answer options
- A. Prometheus and the prometheus-adapter.
- B. Graylog and graylog-autoscaler metrics.
- C. Graylog and the kubernetes-adapter.
- D. Grafana and Prometheus.
Correct answer: A
Explanation
The correct answer is A, as Prometheus is a powerful monitoring system that collects metrics, while the prometheus-adapter facilitates the integration of these metrics with Kubernetes' HorizontalPodAutoscaler. Options B and C contain Graylog, which is not typically used for this purpose, and D includes Grafana, which is primarily a visualization tool rather than a metrics source for scaling.