Kazan v0.1.0 Kazan.Models.V1beta1.HorizontalPodAutoscalerSpec

specification of a horizontal pod autoscaler.

Properties

  • cpu_utilization - target average CPU utilization (represented as a percentage of requested CPU) over all the pods; if not specified it defaults to the target CPU utilization at 80% of the requested resources. See Kazan.Models.V1beta1.CPUTargetUtilization.
  • max_replicas - upper limit for the number of pods that can be set by the autoscaler; cannot be smaller than MinReplicas.
  • min_replicas - lower limit for the number of pods that can be set by the autoscaler, default 1.
  • scale_ref - reference to Scale subresource; horizontal pod autoscaler will learn the current resource consumption from its status, and will set the desired number of pods by modifying its spec. See Kazan.Models.V1beta1.SubresourceReference.