Can the Horizontal Pod Autoscaler scale based on CPU limits?
Issue
- Is there a way to scale up new pods based on a percentage of a pod's CPU limit using the Horizontal Pod Autoscaler (HPA)? For example: if a pod in a deployment had a CPU limit of
500m
, would it then be possible to have the HPA scale up new pods at50%
of this value or250m
?
Environment
- OpenShift Container Platform 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.