An enterprise architecture team is designing an automated progressive delivery release pipeline using Google Cloud Deploy for a microservice deployed on Google Kubernetes Engine (GKE). The pipeline must enforce container image provenance via Binary Authorization and perform automated canary metric verification prior to full traffic shifting.
Arrange the following pipeline execution steps in the correct chronological order from source build to final production rollout.
- 1Cloud Build compiles the container image and generates a cryptographic signature using Cloud KMS to establish a Binary Authorization attestation.
- 2Cloud Build pushes the signed container artifact to Artifact Registry and registers a new release in Google Cloud Deploy.
- 3Google Cloud Deploy provisions the canary rollout phase in the target GKE cluster, directing 10% of live traffic to the new revision.
- 4Cloud Monitoring metrics evaluate Service Level Indicators (SLIs) such as HTTP error rates and latency over a defined observation window.
- 5Google Cloud Deploy advances the rollout phase to shift 100% of production traffic to the validated release revision.
Answer
The correct chronological sequence for the progressive delivery pipeline is: 1) Cloud Build compiles the image and generates a Binary Authorization attestation with Cloud KMS, 2) Cloud Build pushes the image to Artifact Registry and registers a release in Cloud Deploy, 3) Cloud Deploy provisions a canary rollout with 10% traffic routing, 4) Cloud Monitoring verifies SLIs during the observation window, and 5) Cloud Deploy advances the phase to route 100% of production traffic.
The deployment pipeline follows a logical progressive delivery workflow: artifact compilation and Binary Authorization attestation signing (via Cloud KMS in Cloud Build) must precede release registration in Google Cloud Deploy. Once registered, Cloud Deploy executes canary traffic shifting (routing 10% traffic), followed by automated SLI evaluation via Cloud Monitoring during an observation window. Only after metric verification completes successfully can Cloud Deploy promote the deployment phase to shift 100% of production traffic.
Step-by-Step Solution
Key Concept
Automating Continuous Deployment Pipelines and Release Strategies using Google Cloud Deploy, Binary Authorization, and Canary Analysis