Skip to content

Scaling in AKS #2295

Answered by cgillum
ptamilarasan asked this question in Q&A
Oct 31, 2022 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

There is no automatic scaling for Azure Functions when running in AKS. If you use Durable Functions on AKS and your app is allocated only to a single replica, then all activities, etc. will only run on that one replica. This is because the Functions runtime doesn't have any understanding of the compute platform it's running on, and therefore cann't directly control the scaling.

However, if you manually scale your pod to multiple replicas, Durable Functions will automatically distributed activity function executions across all available replicas. In other words, it can discover the new replicas on its own, but can't create new replicas on its own. Something external needs to allocate the n…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@cgillum
Comment options

@ptamilarasan
Comment options

@cgillum
Comment options

@bbrandt
Comment options

@cgillum
Comment options

Answer selected by ptamilarasan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants