Skip to content

Azure storage queue: Keda scales down only on visable messages #1615

@wagenrace

Description

@wagenrace

Report

Keda scales down the pods even when invisible message are still being processed

Expected Behavior

Send a message.
Keda scales to 1 pods
Pod processes message.
Pod finishes
Cool down time
Keda scales down to 0 pods

Actual Behavior

Send a message.
Keda scales to 1 pods
Keda things queue length is 0
Cool down time
Keda scales down to 0 pods

Steps to Reproduce the Problem

  1. Azure function app on storage queue with sleep of 10 minutes
  2. Keda on message same storage queue with messageCount: "1" and cooldowntime of 300
  3. Send a message, pod will never finish

Logs from KEDA operator

example

KEDA Version

2.0.0

Kubernetes Version

1.18

Platform

Microsoft Azure

Scaler Details

No response

I know I can increase the cooldown time but that still means the scaling is not reacting to new messages coming in

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleAll issues that are marked as stale due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions