AverageServiceLoadScalingTrigger interface

Represents a scaling policy related to an average load of a metric/resource of a service.

Extends

Properties

kind

Polymorphic discriminator, which specifies the different types this object can be

lowerLoadThreshold

The lower limit of the load below which a scale in operation should be performed.

metricName

The name of the metric for which usage should be tracked.

scaleInterval

The period in seconds on which a decision is made whether to scale or not. This property should come in ISO 8601 format "hh:mm:ss".

upperLoadThreshold

The upper limit of the load beyond which a scale out operation should be performed.

useOnlyPrimaryLoad

Flag determines whether only the load of primary replica should be considered for scaling. If set to true, then trigger will only consider the load of primary replicas of stateful service. If set to false, trigger will consider load of all replicas. This parameter cannot be set to true for stateless service.

Property Details

kind

Polymorphic discriminator, which specifies the different types this object can be

kind: "AverageServiceLoadTrigger"

Property Value

"AverageServiceLoadTrigger"

lowerLoadThreshold

The lower limit of the load below which a scale in operation should be performed.

lowerLoadThreshold: number

Property Value

number

metricName

The name of the metric for which usage should be tracked.

metricName: string

Property Value

string

scaleInterval

The period in seconds on which a decision is made whether to scale or not. This property should come in ISO 8601 format "hh:mm:ss".

scaleInterval: string

Property Value

string

upperLoadThreshold

The upper limit of the load beyond which a scale out operation should be performed.

upperLoadThreshold: number

Property Value

number

useOnlyPrimaryLoad

Flag determines whether only the load of primary replica should be considered for scaling. If set to true, then trigger will only consider the load of primary replicas of stateful service. If set to false, trigger will consider load of all replicas. This parameter cannot be set to true for stateless service.

useOnlyPrimaryLoad: boolean

Property Value

boolean