CPU Latest

Scale applications based on cpu metrics.

Availability: v2.0+ Maintainer: Community

Suggest a change


  • This scaler will never scale to 0 and even when user define multiple scaler types (eg. Kafka + cpu/memory, or Prometheus + cpu/memory), the deployment will never scale to 0
  • This scaler only applies to ScaledObject, not to Scaling Jobs.

Trigger Specification

This specification describes the cpu trigger that scales based on cpu metrics.

- type: cpu
    # Required
    type: Value/ Utilization/ AverageValue
    value: 60

Parameter list:

  • type represents whether the metric type is Utilization, Value, or AverageValue. Required.
  • value this value depends on the type setting
    • if type set to Value this value is target value of the metric (as a quantity)
    • if type set to Utilization this value is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
    • if type set to AverageValue this value is the target value of the average of the metric across all relevant pods (quantity).


apiVersion: keda.sh/v1alpha1
kind: ScaledObject
  name: cpu-scaledobject
  namespace: default
    name: my-deployment
  - type: cpu
      type: Utilization
      value: "50"

Currently available scalers for KEDA