HPAScalingPolicy

case
class HPAScalingPolicy(periodSeconds: Int, `type`: String, value: Int)

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

Value Params
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

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

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).

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.

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.

def getValue: IO[K8sFailure, Int]

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

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.

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product