Scaling in Azure Container Apps

Azure Container Apps manages automatic horizontal scaling through declarative scaling rules, utilizing KEDA scalers.

Will Velida
5 min readDec 18, 2022
Azure Container Apps uses KEDA to enable automatic horizontal scaling based on HTTP/TCP traffic, CPU/Memory usage, or events supported by KEDA

Azure Container Apps manages automatic horizontal scaling through declarative scaling rules. We can scale out our container apps based on a variety of different KEDA scalers.

I recorded a video over the weekend covering how scaling works in Azure Container Apps, what KEDA is and how to set scaling rules within Azure Container Apps, using HTTP and Azure Queue storage scale rules as an example.

If you prefer reading rather than watching, continue reading this post. I’ll only be covering the storage queue scaler in this post, so if you want to see how the HTTP scaler works, please watch the video.

How does scaling work in Container Apps?

As I mentioned earlier, Container Apps horizontally scale based on the scaling rules that have been set for that container app. As it scales out, new instances (or replicas) of…

--

--

Will Velida

Lead Software Engineer at Azenix | Ex-MSFT | International Conference Speaker. | GitHub: https://github.com/willvelida