Interview Prep/Kubernetes/Autoscaling, Capacity & Cost

What is KEDA and when would you use it instead of HPA on CPU?

IntermediateProductionAutoscaling, Capacity & Cost
Answer

KEDA is an event-driven autoscaler that feeds external metrics (SQS length, Kafka lag, Prometheus queries, cron) to an HPA and can scale to zero. Use it for queue consumers and scheduled load where CPU does not reflect work waiting. It creates and manages the HPA for you through a ScaledObject.

All Kubernetes questions Roadmap: Kubernetes networking, storage & scaling

More on Autoscaling, Capacity & Cost