Skip to content

Missing metric keda_scaled_object_paused after keda-operator restart #6321

@aguerra

Description

@aguerra

Report

Keda-operator reports the metric keda_scaled_object_paused as 1 for a paused scaled object. After restarting or replacing the keda-operator pod the metric is missing.

Expected Behavior

The reconciliation should be able to detect the paused scaled object and set the corresponding metric keda_scaled_object_paused to 1.

Actual Behavior

The metric keda_scaled_object_paused is missing.

Steps to Reproduce the Problem

  1. Pause a scaled object and confirm that the metric keda_scaled_object_paused{scaledObject="my-scaled-object"} is present and equals 1.
  2. Restart or replace the keda-operator pod.
  3. The metric keda_scaled_object_paused{scaledObject="my-scaled-object"} is missing.

Logs from KEDA operator

example

KEDA Version

2.15.1

Kubernetes Version

1.30

Platform

Amazon Web Services

Scaler Details

CPU

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Ready To Ship

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions