Is it possible for an Azure Function hosted in a Container App Environment to be "always on"?
Sam Best
20
Reputation points
I've done the following:
- Enabled a dedicated workload profile which the app is running on. This has minimum instance count set to 1.
- Set the minimum replicas to 1 for the Azure Function itself.
Still it seems to spin down to 0 and do a cold start. From my understanding, there is no flex consumption available with this hosting model, so I was hoping the dedicated workload profile would solve my problem.
Is there any way I can configure my Azure Function to always have an always-ready, running instance outside of something like a timer trigger keepalive?
Sign in to answer