1

I am trying to implement the HPA, but I am struggling to understand if the HPA checks the avg cpu utilization of the 'limits' or the 'requests'.

I've defined the following resources:

django:
  limits:
    cpu: 400m
    memory: 700Mi
  requests:
    cpu: 200m
    memory: 350Mi

on the HPA I configured the following CPU Utilization targetCPUUtilizationPercentage: 35

Does this mean 35% of the requests 200m (scale up on > 70m) or 35% of the limits 400m (scale up on > 140m)

Jeroen Beljaars
  • 137
  • 1
  • 10
  • 1
    duplicate of https://stackoverflow.com/questions/56198941/using-horizontal-pod-autoscaling-along-with-resource-requests-and-limits ? – reith May 26 '21 at 15:16

0 Answers0