Chapter 13: Scaling in Kubernetes
In this chapter, we'll be covering scaling your Kubernetes cluster. We'll go over the three main ways of doing so: with the Horizontal Pod Autoscaler (HPA), Vertical Pod Autoscaler (VPA), and Cluster Autoscaler. We will cover the pros and cons and some examples of each of these ways, as well as diving into the best practices for each method.
In this chapter, we're going to cover the following main topics:
- What is an HPA?
- What is a VPA?
- What is Kubernetes Cluster Autoscaler?
What is an HPA?
An HPA is a controller within a controller manager. An HPA automatically scales pods in replication controllers, deployments, replica sets, or stateful sets based on CPU usage (or custom metrics). Objects that cannot be ...
Get Rancher Deep Dive now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.