Chapter 4: Scaling and Deploying Your Application
In this chapter, we will learn about the higher-level Kubernetes resources that are used to run applications and control Pods. First, we'll cover the drawbacks of the Pod, before moving on to the simplest Pod controller, ReplicaSets. From there we will move on to Deployments, the most popular method for deploying applications to Kubernetes. Then we'll cover special resources to help you deploy specific types of applications – Horizontal Pod Autoscalers, DaemonSets, StatefulSets, and Jobs. Finally, we'll put it all together with a full example of how to run a complex application on Kubernetes.
In this chapter, we will cover the following topics:
- Understanding Pod drawbacks and their solutions
- Using ReplicaSets
- Controlling Deployments
- Harnessing the Horizontal Pod Autoscaler
- Implementing DaemonSets
- Reviewing StatefulSets and Jobs
- Putting it all together