Deploying New Releases
In this lesson, we will go through the Kubernetes deployment definition and will create a deployment.
We'll cover the following
Just as we are not supposed to create Pods directly but using other controllers like ReplicaSet, we are not supposed to create ReplicaSets either. Kubernetes Deployments will create them for us. If you’re wondering why is this so? You’ll have to wait a little while longer to find out.
First, we’ll create a few Deployments and, once we are familiar with the process and the outcomes, it’ll become obvious why they are better at managing ReplicaSets than we are.
Looking into the Definition
Let’s take a look at a Deployment specification for the database ReplicaSet we’ve been using thus far.
Get hands-on with 1400+ tech skills courses.