问题
Every time I deploy to Google's Managed VM service, the console automatically creates a duplicated instance. I am up to 15 instances running in parallel. I even tried using the command:
gcloud preview app deploy "...\app.yaml" --set-default
I tried doing some research and it looks like even deleting these duplicated instances can be a pain. Thoughts on how to stop this duplication?
回答1:
You can deploy over the same version each time:
gcloud preview app deploy "...\app.yaml" --set-default --version=version-name
This will stop creating VMs.
来源:https://stackoverflow.com/questions/31484826/how-to-stop-creating-extra-instances-when-using-google-managed-vms