QuestionQ82

VerifiedApplying site reliability engineering practices

You manage an application running in Google Kubernetes Engine (GKE) that uses the blue/green deployment methodology. Extracts from the Kubernetes manifests are shown below:

Question Image

The app-green Deployment was updated to use the new version of the application. During post-deployment monitoring, you notice that most user requests are failing. This behavior was not observed in the testing environment. You need to reduce the incident’s impact on users and allow the developers to troubleshoot the issue. What should you do?

Explanation

A Kubernetes Service directs traffic to Pods that match all of its selector labels. Pointing app-svc to app: my-app, version: blue removes the failing green Pods from its endpoints and routes user traffic to the unchanged blue deployment. The green deployment remains running for troubleshooting.

Learn more

Community Discussion

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