I have created an azure container app with quick image. Here my container app is in consumption workload profile as when deploying with quick start image there is no option to select between workload profiles.
Now I want to switch my container app’s workload profile from consumption to the dedicated workload profile which I have created.
Any suggestions on how to achieve this?
Thank You..
I couldn’t find a legit solution for this.
I am able to add dedicated workload profiles in the container apps Environment. So I have just Deleted my container app and created again but this time with an explicit docker image. Here it gave me choice to select between my workload profiles.
2
Answers
Unfortunately there is no way to switch profile from an already running container app. To switch your Azure Container App’s workload profile from Consumption to Dedicated, you will need to redeploy your app with the dedicated profile.
By the way, when creating a container app with a quick start image, you are limited to the Consumption workload profile only. However, when deploying with an explicit Docker image, you will be given the option to select from your available workload profiles.
Delete your current container app.
Create and push your explicit Docker image to your acr
![enter image description here](data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%200%200'%3E%3C/svg%3E)
Select the dedicated workload profile you want to use during the creation process.
You can verify or edit the same from by using
if you do any edit in the workloadprofile then you can update it using-
You can change on Azure Portal, Container App Overview page, Properties, Workload profile.