QuestionQ31

VerifiedBuilding and implementing CI/CD pipelines, including continuous testing, for application, infrastructure, and machine learning workloads

You are creating the CI/CD pipeline for an application deployed to Google Kubernetes Engine (GKE). The application uses a Kubernetes Deployment, Service, and Ingress. The application team has asked that it be deployed by using the blue/green deployment methodology. You need to implement the rollback actions. What should you do?

Explanation

A blue/green deployment runs an upgraded parallel set of application instances and switches traffic to it when ready. In Kubernetes, the Service selects the Pods that receive traffic, so rollback requires changing the Service selector to target the previous Deployment's Pods. Google Cloud: Best practices for CI/CD to GKE

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!