QuestionQ56

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

You are preparing to deploy a new feature of a web-based application to production, and you want to use Google Kubernetes Engine (GKE) to carry out a phased rollout to half of the web server pods.

What should you do?

Explanation

A partitioned rolling update, configured via the updateStrategy.rollingUpdate.partition field on a StatefulSet, lets you control exactly how many pods (by ordinal index) receive an update while the remaining pods stay on the prior version. This provides the fine-grained, phased rollout capability needed to update only half of the web server pods before continuing further, which is not something a plain ReplicaSet, node taints, or a parallel pod management policy provides.

Learn more

Community Discussion

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