Hi, I have been trying to deploy one of my services. I deploy it as both cloud run and GAE Flex. The cloud run deployment seems to be working but GAE Flex deployment is stuck.
The CI/CD pipeline builds and pushes an image to artifact registry and both cloud run and flex deployment refer to the same image.
Since today evening, the GAE Flex deployment seems to be stuck for some reason. Any help will be appreciated
Hi @adityasoni ,
Welcome to Google Cloud Community!
If your GAE Flex deployment is getting stuck, it might be due to your application not reaching the “ready” status within the expected time. This is controlled by the initial_delay_sec in the liveness_check section of your app.yaml. If your app takes longer to start—like if it’s downloading large files or preloading caches—you may need to adjust the startup time. You can do this by increasing the app_start_timeout_sec value in the readiness_check section of the same file.
Also, make sure the Cloud Build API is enabled for your project. It’s required for deployments and, although it’s enabled automatically the first time you deploy, it could have been disabled later, which would cause deployments to fail.
Additionally, ensure you’re using Artifact Registry instead of Container Registry, as Container Registry has been shut down. As of March 5, 2025, all new deployments default to Artifact Registry for storing build images. If your configuration still points to Container Registry, you’ll need to update it to use Artifact Registry instead.
Make sure these settings align with the latest Deploy your application documentation to avoid deployment issues.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.