Scaling Your EKS Cluster
Capacity planning on EKS (and K8s generally) can be hard! If you under- or overestimate your cluster resources, you may not meet your application’s demand or end up paying more than you need. One of the reasons it’s hard is that it can be difficult to know what the expected load will be for your application. With a web application, for example, the load is normally non-deterministic and a successful marketing campaign or an event similar to Amazon Prime Day may see your load triple or quadruple. Some form of cluster/pod scaling strategy is needed to cope with the peaks and troughs of load placed on a modern application.
In this chapter, we will walk through several common strategies and tools that can be used with Amazon EKS and help you understand how to optimize your EKS cluster for load and cost. Specifically, this chapter covers the following topics:
- Understanding scaling in EKS
- Scaling EC2 ASGs with Cluster Autoscaler
- Scaling...