case class HPAScalingPolicy(periodSeconds: Int, type: String, value: Int) extends Product with Serializable

HPAScalingPolicy is a single policy which must hold true for a specified past interval.

periodSeconds

PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).

type

Type is used to specify the scaling policy.

value

Value contains the amount of change which is permitted by the policy. It must be greater than zero

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HPAScalingPolicy
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HPAScalingPolicy(periodSeconds: Int, type: String, value: Int)

    periodSeconds

    PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).

    type

    Type is used to specify the scaling policy.

    value

    Value contains the amount of change which is permitted by the policy. It must be greater than zero

Value Members

  1. def getPeriodSeconds: IO[K8sFailure, Int]

    PeriodSeconds specifies the window of time for which the policy should hold true.

    PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).

    This effect always succeeds, it is safe to use the field periodSeconds directly.

  2. def getType: IO[K8sFailure, String]

    Type is used to specify the scaling policy.

    Type is used to specify the scaling policy.

    This effect always succeeds, it is safe to use the field type directly.

  3. def getValue: IO[K8sFailure, Int]

    Value contains the amount of change which is permitted by the policy.

    Value contains the amount of change which is permitted by the policy. It must be greater than zero

    This effect always succeeds, it is safe to use the field value directly.

  4. val periodSeconds: Int
  5. val type: String
  6. val value: Int