HPAScalingRules

final case class HPAScalingRules(policies: Option[Seq[HPAScalingPolicy]], selectPolicy: Option[String], stabilizationWindowSeconds: Option[Int])

HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.

Source:
HPAScalingRules.scala
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

Appends new values to policies

Appends new values to policies

Source:
HPAScalingRules.scala

if policies has a value, transforms to the result of function

if policies has a value, transforms to the result of function

Source:
HPAScalingRules.scala

if selectPolicy has a value, transforms to the result of function

if selectPolicy has a value, transforms to the result of function

Source:
HPAScalingRules.scala

if stabilizationWindowSeconds has a value, transforms to the result of function

if stabilizationWindowSeconds has a value, transforms to the result of function

Source:
HPAScalingRules.scala

Returns a new data with policies set to new value

Returns a new data with policies set to new value

Source:
HPAScalingRules.scala

Returns a new data with selectPolicy set to new value

Returns a new data with selectPolicy set to new value

Source:
HPAScalingRules.scala

Returns a new data with stabilizationWindowSeconds set to new value

Returns a new data with stabilizationWindowSeconds set to new value

Source:
HPAScalingRules.scala

Inherited methods

Inherited from:
Product