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.
More on Autoscaling, Capacity & Cost
How do you right-size requests and limits?BeginnerWhy does HPA need accurate CPU requests?BeginnerWhat are Spot instances good for on Kubernetes?BeginnerHow do you reduce Kubernetes cost quickly?BeginnerWhat is metrics-server and what does it not do?BeginnerWhat is a good default for the node size and why?Beginner