From the course: Certified Kubernetes Administrator (CKA) Cert Prep

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Using deployments

Using deployments

- In this lesson we'll talk about deployments. Let's make sure we understand each other. I expect you to have knowledge at CKAD level and as a CKAD, hopefully you'll already know how to run a deployment. But let's summarize the essentials. So the deployment is a standard way for running containers in Kubernetes. That is because deployments make sure that Pods are started in a scalable way. And the deployment resource uses that ReplicaSet to manage scalability. Another important feature provided by the deployment is a rolling update feature and that allows for zero downtime application updates. And to start the deployment the imperative way, you use kubecti create deploy with all the options that you would like to have on them. Let's do a quick demo on deployment to refresh your knowledge about them. Okay, so let's do quick demo kubectl create deploy mondeploy minus minus images NginX colon 1.17 and minus minus replicas is three. Using kubectl get all minus minus minus selector app is…

Contents