Event-driven scaling with KEDA
Unlock the complete study guide + 1,040 practice questions across 16 full exams.
Bundled into the existing Developing AI Cloud Solutions on Azure premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- Limits, rules, and behavior: one scale definition
- From zero to one, then from one to many
- Three trigger categories, and what each measures
- Translating a KEDA scaler into a scale rule
- More than one rule on one app
- Scale to zero, and the rules that cannot reach it
- Timing: polling, stabilization, and cool-down
- How a scale rule signs in
- Jobs scale executions, not replicas
- Exam-pattern recognition
The three scale rule categories in Container Apps
| Decision axis | HTTP | TCP | Custom |
|---|---|---|---|
| What it measures | Concurrent HTTP requests to the revision | Concurrent TCP connections to the revision | Any metric a ScaledObject-based KEDA scaler exposes, including CPU, memory, Service Bus, Event Hubs, Kafka and Redis |
| Threshold property | concurrentRequests | concurrentConnections | Named by the scaler, such as messageCount for Service Bus or value for CPU |
| Default threshold | 10 | 10 | Set by the scaler rather than by Container Apps |
| Can the app reach zero? | Yes | Yes | Event-source scalers yes; CPU and memory no |
| Polling interval applies | No | No | Yes, every 30 seconds |
| Available to jobs | No | No | Yes, for ScaledJob-based scalers on an Event job |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.
Also tested in
References
- Set scaling rules in Azure Container Apps
- Kubernetes Event-driven Autoscaling (KEDA) in Azure Kubernetes Service (AKS)
- KEDA: Scaling Deployments, StatefulSets & Custom Resources
- KEDA Azure Service Bus scaler
- Tutorial: Scale an Azure Container Apps application
- KEDA FAQ FAQ
- KEDA CPU scaler
- Billing in Azure Container Apps
- KEDA ScaledObject specification
- Managed identities in Azure Container Apps
- Jobs in Azure Container Apps