Deploying and managing applications
The following sections of this chapter will take you through practical exercises with concrete examples that you would encounter in your real CKA exam, including how to deploy and scale applications, perform rolling updates and rollbacks for those applications, manage and govern the resource consumption for these applications, and configure them.
Deploying applications
Deploying applications can be achieved in various ways, such as deploying a pod with kubectl
or a YAML definition, as we did in the The basics of Kubernetes workloads section of this chapter. Now, we’ll take a look at a more effective way of using Deployments. In this section, let’s get into how to deploy and scale applications.
Deployments
A Deployment is a convenient way to define the desired state deployment – it provides us with a better way of upgrading the underlying instances seamlessly using rolling updates, undoing changes, and pausing and...