Which Kubernetes object is used to automatically scale Pods based on resource utilization?

Which Kubernetes object is used to automatically scale Pods based on resource utilization?

a) ReplicaSet
b) Horizontal Pod Autoscaler (HPA)
c) StatefulSet
d) DaemonSet

Answer:

b) Horizontal Pod Autoscaler (HPA)

Explanation:

The Horizontal Pod Autoscaler (HPA) automatically scales the number of Pods in a deployment based on observed CPU utilization or other select metrics.

Reference:

Kubernetes Quiz – MCQ – Multiple Choice Questions

Scroll to Top