Skip to content

autoscaling.v2.hpaScalingPolicy

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

Index

Fields

fn withPeriodSeconds

withPeriodSeconds(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)."

fn withType

withType(type)

"type is used to specify the scaling policy."

fn withValue

withValue(value)

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