I spent an entire day working through containerizing my functions, configuring debug vs release with Dockerfiles, creating the new build pipeline, and more only to find out that there is no consumption plan (in any region??) available for containerized Function Apps. This page does not even mention containers, let alone that support is different.
Related: #40987
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hi @steamwings Thanks for your feedback. We will review and update as appropriate.
@steamwings Just checking if you have gone through these docs . Do let me know if there is any specific information you are looking for.
@DixitArora-MSFT The third link does not appear to have information relevant to function apps in Docker containers (considering that it also states "Serverless functions run in the Consumption plan" and the whole problem is that that's not true for containerized function apps).
The place that does state what I needed (that containerized function apps cannot use a Consumption plan) is the first paragraph of your second link. However, even the second paragraph on that page says "To learn more about hosting, see Azure Functions hosting plans comparison." This page, as I stated above, does not mention anything about function apps in containers. It just needs to state this as a feature in the Premium Plan section. I'd be happy to open a PR if desired.
@steamwings I have assigned this to content author for further review and update as appropriate.
Does this still apply? As I read it, you can now host docker on consumption plan. How does the scaling work? On k8s you need keda for event driven scaling. Does this work out of the box on consumption plan and premium plan?
Custom containers aren't yet supported for Linux Consumption plans for reasons indicated here by Ahmed. We will add a note to the article to clarify this. We also have a Functions container article in our backlog.
You get event-driven scaling for your containerized functions using Premium plan.
@ggailey777 I have read up on it since. How I understand it is: