I’m trying to deploy a grobid:0.7.3 custom image on Azure Container Apps, but keep having in return "Failed:grobidContainerCreation" failed.
Container goes in that status, and then in Degraded.
Azure Container Apps workload profile size is consumption 4 cpus and 8 Gb memory.
The custom image just copies a .pem certificate.
but that’s not the problem []
I tried to deploy the same image on a 4cpu x 8memory x 30gb storage vm and it works with no problems.
Tryed to deploy the same azure container app in a development environment and still not working.
2
Answers
The crash of the application was likely due to the insufficient memory allocation within the Azure Container Apps environment. he full Grobid image requires 30GB of space, but the consumption model for Azure Container Apps provides a maximum of 8GB per replica.
https://learn.microsoft.com/en-us/azure/container-apps/hardware#:~:text=Consumption,8*
To address this issue, consider requesting a quota increase or optimizing the application to fit within the available memory limits.
To deploy a custom Grobid image on Azure Container Apps, you can follow these steps-
Assuming you already have a custom Grobid image (e.g.,
grobid:0.7.3
) already built and available in your ACRCreate a Container App Environment
Next, create a Container App using the custom Grobid Docker image. Add your startup command accordingly for your custom image as below-
For this example, since the image is hosted on Docker Hub, no special configuration is required for authentication. I am not using any startup script so –
After deploying the container app, you can monitor and debug the deployment using the following steps:
Check App Status:
View Logs:
Additional troubleshooting steps-
Reference:
Grobid setup