HPAScalingRules

io.k8s.api.autoscaling.v2.HPAScalingRules
See theHPAScalingRules companion object
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.

Attributes

Companion
object
Source
HPAScalingRules.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Appends new values to policies

Appends new values to policies

Attributes

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

Attributes

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

Attributes

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

Attributes

Source
HPAScalingRules.scala

Returns a new data with policies set to new value

Returns a new data with policies set to new value

Attributes

Source
HPAScalingRules.scala

Returns a new data with selectPolicy set to new value

Returns a new data with selectPolicy set to new value

Attributes

Source
HPAScalingRules.scala

Returns a new data with stabilizationWindowSeconds set to new value

Returns a new data with stabilizationWindowSeconds set to new value

Attributes

Source
HPAScalingRules.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product