gcloud app deploy does not remove previous versions

后端 未结 3 1166
我寻月下人不归
我寻月下人不归 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:22

    As far as I can tell, for Standard Environment with automatic scaling at least, it is normal for old versions to remain "serving", though they should hopefully have zero instances (even if your scaling configuration specifies a nonzero minimum). At least that's what I've seen. I think (I hope) that those old "serving" instances won't result in any charges, since billing is per instance.

    I know most of the above answers are for Flexible Environment, but I thought I'd include this here for people who are wondering.

    (And it would be great if someone from Google could confirm.)

提交回复
热议问题