Kubernetes autoscaler targetCPUUtilizationPercentage
This is average cpu utilisation of all the pods, so if you have given CPU as 200
in the resource requests
and targetCPUUtilizationPercentage
as 80%
, then at 160
value of threshold, it will scale out the pod. It will create a new repliace.
The CPU utilization is the average CPU usage of a all pods in a deployment across the last minute divided by the requested CPU of this deployment. If the mean of the pods' CPU utilization is higher than the target you defined, the your replicas will be adjusted.
You can read more about this topic here.