-
I'm trying to determine the upper limit of running containers/replicas for acontainer job, and can't find a clear answer in the docs. For event-driven scalers, the Azure portal limits max executions to 100, but I'm able to set a higher max executions value with the Azure CLI with no problems, so it's not clear to me if 100 is a real limit or just the limit in the portal UI. The "parallelism" setting seems to indicate that I could run multiple containers per execution, with no limit as far as I can tell, but I don't really understand why there's a distinction between the number of executions and the number of replicas. In what situation would I want to increase parallelism, but not max executions, or vice versa? And what is the upper limit to number of replicas for a container job? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering my own question after some investigation: For a container job with one container, and a managed environment that isn't shared with any other container apps, the number of executions that can run at once is the number of cores in the workload profile times the CPU allocation per container. At present, no more than 100 cores are allowed for a single container app environment, so with the absolute minimum amount of resources allocated for the container, no more than 400 executions can run in parallel. It seems to be possible to request a quota increase for the number of cores, but I haven't tried this and don't know what the upper limit for that would be. |
Beta Was this translation helpful? Give feedback.
Answering my own question after some investigation: For a container job with one container, and a managed environment that isn't shared with any other container apps, the number of executions that can run at once is the number of cores in the workload profile times the CPU allocation per container. At present, no more than 100 cores are allowed for a single container app environment, so with the absolute minimum amount of resources allocated for the container, no more than 400 executions can run in parallel.
It seems to be possible to request a quota increase for the number of cores, but I haven't tried this and don't know what the upper limit for that would be.