DEV Community

Wriju's Blog
Wriju's Blog

Posted on

Kubernetes CKAD Tips 9 – Rolling Updates in Deployment

In a real production environment, we don't manage Pods rather Kubernetes deployment manages the Pods. However, if there is a change or update required, we prefer not to shut down the whole environment but rather roll it over slowly. If you have four replicas then probably it will take down one at a time and update 4 pods one after another, rather than doing altogether. This purely depends on the requirement of your application, if you don't want to have any older version running while updating the newer version, you can have the complete update without choosing the rollout kind of behavior.

Resources

Subscribe to the Channel TechTalks-Wriju

The Kubernetes and CKAD Playlist

Top comments (0)