Google App Engine: Build Timed Out during Deployment

前端 未结 3 1559
半阙折子戏
半阙折子戏 2021-01-02 05:19

Edit: Google Cloud at its finest. Made absolutely no changes but deployed fine this morning.

Error after ~10m of deployment (10+ deploy attempts). <

3条回答
  •  走了就别回头了
    2021-01-02 05:37

    I have this problem too when deploying my custom image to AppEngine flex. My image requires a few ML models and takes around 2 hours to build and GAE does not seem to like it.

    To build your container images outside of Google Cloud Platform, you must first upload your images to a container image repository before you can deploy your images to App Engine with the gcloud app deploy command.

    In short, push your image to Google Container Registry or container image repository of your choice, then deploy with this command

    gcloud app deploy --image-url gcr.io/YOUR_PROJECT_ID/YOUR_CONTAINER_IMAGE
    

    More info here and here

提交回复
热议问题