I setup my CD with following commands to deploy container to gce:
gcloud compute instances stop my-awesome-app gcloud compute instances update my-awesome-app --no-shielded-integrity-monitoring gcloud beta compute instances update-container my-awesome-app --container-image=docker.io/my-docker-hub-user/my-awesome-app:${IMAGE_TAG} gcloud compute instances start my-awesome-app The instance will then stop, replace container image and start.
If I create new instance with the latest image, everything works fine.
If I deploy with my CD pipeline, the instance ALWAYS hang forever (after receiving start event, no new logging is coming), NEVER pulls the new image, and NEVER goes up and running.
Anyone can tell me what's the problem?