Ever thought of what might have happened when Facebook was rolling out the “dark mode” update? You must be thinking: the page might not load, the site might be slow, moreover they also need time to edit their own website.

There are a variety of services that Kubernetes provides but the one that we are going to use is Deployment.

This command will be put in the Job1 only so that as soon as the image is build and we have a tag, we can change it in the .yaml file.

Now we will configure the cloud: In this we have done many things: This job just creates the deployment using basic Kubernetes commands and for rolling update replaces the deployment and the pods if they already exist.

Related Articles