Il-Horizontal Pod Autoscaler (HPA) iżid jew ineħħi Pod replicas ibbażat fuq metrics osservati (CPU, memorja, jew custom). Il-Cluster Autoscaler (CA) iżid jew ineħħi nodes meta l-Pods ma jistgħux jiġu skedjati jew in-nodes ma jintużawx biżżejjed. Joperaw f'layers differenti u jaħdmu flimkien.
Żewġ autoscalers, żewġ layers
HPA → scales PODS (more/fewer replicas of a Deployment) — reacts to LOAD
CA → scales NODES (grows/shrinks the cluster's machines) — reacts to PENDING Pods
VPA → (bonus) adjusts a Pod's requests/limits — reacts to right-sizing
Typical flow: load rises → HPA adds Pods → Pods can't fit → CA adds a node →
Pods schedule. Load drops → HPA removes Pods → node idle → CA removes it.
