A global media streaming platform hosts its microservices on Google Kubernetes Engine (GKE). The platform team is designing a progressive delivery strategy using Google Cloud Deploy to automate release rollouts across production clusters. The operational objective requires deploying new service revisions using a canary release pattern, gradually advancing traffic from 10% to 100%, while continuously validating application metrics against Cloud Monitoring. If the canary revision's HTTP 5xx error rate exceeds 1% during any evaluation phase, the deployment pipeline must automatically halt progress and roll back traffic to the previous stable release without manual intervention. Which architecture and release configuration best fulfills these requirements?
- Define a Cloud Deploy delivery pipeline with progressive canary targets and integrated Cloud Deploy verify jobs that execute automated metric checks against Cloud Monitoring, automatically invoking a pipeline rollback phase if pre-configured error thresholds are breached.Answer
- BRe-architect the streaming workload from GKE to App Engine Flexible Environment with traffic splitting enabled, relying on App Engine's built-in feature to automatically monitor container CPU utilization and execute rollbacks if metrics exceed safe limits.
- CConfigure the External Application Load Balancer health check endpoints to perform deep SQL queries against the backing database, ensuring load balancer health checks mark canary pods as unhealthy whenever HTTP error rates increase.
- DStore the CI/CD pipeline deployment state files in local storage on the build server and run manual gcloud deployment commands sequentially across cluster regions to split traffic and evaluate error logs.