11.8 Cluster Autoscaler: Adding and Removing Nodes
Right, so you’ve got your pods scaling horizontally like a well-rehearsed flash mob. But what happens when the entire party runs out of room? That’s where the Cluster Autoscaler (CA) comes in. Think of it as the pragmatic bouncer for your Kubernetes nightclub. HPA and VPA handle the guest list (pods), but when the club is at capacity, the CA is the one who calls the building manager to add a new floor or, when things quiet down, tells the unused floors they can go home. It doesn’t care about CPU or memory inside your pods; it cares about whether there’s space for pods to run at all.