DevOps · Flashcard

What is the primary function of the Horizontal Pod Autoscaler (HPA)?

  • AAdjusts the number of Pod replicas — scales out or in based on observed metrics like CPU utilization
  • BAdjusts CPU and memory requests — right-sizes resource allocations based on historical usage patterns
  • CAdds or removes cluster nodes — provisions infrastructure when Pods cannot be scheduled on existing capacity
  • DRestarts unhealthy Pod containers — replaces failing instances based on observed health probe failures

Why this is the answer

HPA changes replica count horizontally. VPA adjusts resources vertically within a single Pod — it does not add or remove replicas.

Official docs
Study in Gnoseed →