Configuring rolling updates for Deployments

In production scenarios, you will definitely need a deployment strategy that provides zero downtime updates for your application. As a container orchestrator, Kubernetes comes with different building blocks that can be used for implementing blue-green Deployments, canary Deployments, or rolling Deployments. A Kubernetes Deployment object has full support for performing a rolling update Deploymentin this type of Deployment, the new version of the application is rolled out by gradually swapping old replicas with new replicas, all of which are behind the same Service. This means that, during the rollout, the end user will reach either the old or new version of the application.

To ensure real zero ...

Get Hands-On Kubernetes on Windows now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.