Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 1.55 KB

QueueBasedAutoscalerConfiguration.md

File metadata and controls

14 lines (11 loc) · 1.55 KB

QueueBasedAutoscalerConfiguration

Defines configuration for automatically scaling container instances based on queue length. The autoscaler monitors a queue and adjusts the number of running replicas to maintain the desired queue length.

Properties

Name Type Required Description
desiredQueueLength number The target number of items in the queue that the autoscaler attempts to maintain by scaling the containers up or down
maxReplicas number The maximum number of instances the container can scale up to
minReplicas number The minimum number of instances the container can scale down to, ensuring baseline availability
maxDownscalePerMinute number The maximum number of instances that can be removed per minute to prevent rapid downscaling
maxUpscalePerMinute number The maximum number of instances that can be added per minute to prevent rapid upscaling
pollingPeriod number The period (in seconds) in which the autoscaler checks the queue length and applies the scaling formula