Restart of keda-operator causes ScaledJob object to be updated #5656
Closed
Description
Report
Restart/Recreation of keda-operator causes ScaledJob object to be updated, which leads to Jobs being rolled out as per the RolloutStrategy.
Expected Behavior
Restart/Recreation of the keda-operator should not update the ScaledJob object
Actual Behavior
Restart/Recreation of the keda-operator somehow update the ScaledJob object leading to Jobs being rolled out as per the RolloutStrategy.
Steps to Reproduce the Problem
- Kill the keda-operator (with replicas >1).
- Wait for the keda-operator to be recreated.
- In the Kubernetes events for the ScaledJob object, around the time the keda-operator was restarted the following events can be seen:
i. KEDAJobsCreated
ii. KEDAScalersStarted
KEDA Version
2.13.1
Kubernetes Version
1.27
Platform
Microsoft Azure
Scaler Details
No response
Anything else?
This could also be the expected behavior of the keda-operator. However I do not understand why any changes the to keda-operator should affect the ScaledJob object.
Metadata
Assignees
Labels
Type
Projects
Status
Ready To Ship