Search⌘ K
AI Features

Create HPA with Custom Metrics pulled through Exporters

Discover how to define custom Prometheus Adapter rules to fetch specific metrics like nginx_ingress_controller_requests. Learn how to create an HPA in Kubernetes that uses these custom metrics for dynamic scaling of pods based on real traffic, including observing scaling behavior as traffic changes.

As you already saw, Prometheus Adapter comes with a set of default rules that provide many metrics that we do not need, and not all those that we do. It’s wasting CPU and ...