Creating a Zero-Downtime Deployment
Learn how to create a zero-downtime Deployment using the file defined in the previous lesson.
We'll cover the following...
We'll cover the following...
Creating the deployment
Before we explore rolling updates, we should create the Deployment and, with it, the first release of our application.
We create the Deployment and retrieve the object from the Kubernetes API server.
The output of the latter command is as follows:
Please make sure that the number of available Pods is 3. Wait for a few moments if that’s not the case. Once all the Pods are up and running, we’ll have a Deployment that will create a new ReplicaSet which will subsequently create three Pods based on the latest release of the vfarcic/go-demo-2 image.
Let’s see what ...