March 2019
Beginner to intermediate
778 pages
34h 20m
English
Cloud Deployment Manager maintains an internal representation of the state of each deployment. When a deployment is updated, Cloud Deployment Manager operates on the assumption that the deployment's underlying resources have not been externally modified. This assumption is dangerous as those resources may have been externally modified or deleted.
To see this, delete the previous deployment's underlying compute instance with the following command:
gcloud compute instances delete app-server --zone us-east1-b
Once deleted, attempt to apply the previous update to the deployment with:
gcloud deployment-manager deployments update example-deployment \ --config simple-app-server.yaml
Rather than recreating the missing ...
Read now
Unlock full access