gcloud app deploy does not remove previous versions

后端 未结 3 1168
我寻月下人不归
我寻月下人不归 2021-02-07 11:55

I am running a Node.js app on Google App Engine, using the following command to deploy my code:

gcloud app deploy --stop-previous-version

My de

3条回答
  •  孤街浪徒
    2021-02-07 12:05

    Google may have updated their documentation cited in @IAmKale's answer

    Note that if the version is running on an instance of an auto-scaled service, using --stop-previous-version will not work and the previous version will continue to run because auto-scaled service instances are always running.

    Seems like that flag only works with manually scaled services.

提交回复
热议问题