An architecture team is establishing an automated progressive release pipeline for a mission-critical microservice deployed on Google Kubernetes Engine (GKE). The deployment process must strictly enforce container security attestations, progressive traffic shifting, and continuous automated health monitoring before achieving full production rollout. Place the operational stages of this release strategy in the correct chronological order from first to last.
- 1Cloud Build compiles the source code, builds the container artifact, and stores the image digest in Artifact Registry.
- 2Container Analysis scans the image for vulnerabilities, and a Binary Authorization attestor signs the image digest.
- 3Google Cloud Deploy initiates a pipeline release and provisions the validated image to the target GKE staging environment for integration testing.
- 4Cloud Deploy updates the GKE service ingress configuration to shift 10% of live production traffic to the canary deployment.
- 5Cloud Monitoring tracks Service Level Indicators (SLIs) during the canary window before Cloud Deploy promotes the release to receive 100% of production traffic.
Answer
The correct execution order begins with building and storing the container image in Artifact Registry, followed by Container Analysis scanning and Binary Authorization attestation signing. Next, Cloud Deploy provisions the workload to the staging environment. Once staging tests pass, Cloud Deploy routes 10% of live traffic to the canary release. Finally, Cloud Monitoring evaluates real-time SLIs before Cloud Deploy automatically promotes the release to 100% production traffic.
The sequence follows standard Google Cloud continuous delivery best practices: Code must first be compiled into an artifact in Artifact Registry. Security verification via Container Analysis and Binary Authorization attestation occurs next to ensure image compliance. The image is then deployed to staging via Google Cloud Deploy. Following successful staging validation, Cloud Deploy shifts a initial fraction (10%) of production traffic to the canary pods. Cloud Monitoring continuously tracks error rates and latency during this canary phase, permitting final promotion to 100% traffic only after stability criteria are satisfied.
Step-by-Step Solution
Key Concept
Automated CI/CD Pipeline Execution Order with Progressive Canary Delivery and Binary Authorization