Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ScaledJob update causes existing jobs to terminate #6440

Open
yaron-idan opened this issue Dec 23, 2024 · 0 comments
Open

ScaledJob update causes existing jobs to terminate #6440

yaron-idan opened this issue Dec 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@yaron-idan
Copy link

Report

When deploying a ScaledJob jobs are running as expected, but when the ScaledJob spec changes all existing jobs are immediately deleted

Expected Behavior

Existing jobs should keep running, and only new jobs are expected to be created with the new spec

Actual Behavior

All existing jobs are immediately removed, and their pods enter Terminating mode

Steps to Reproduce the Problem

  1. Create a scaled job, and have it run some jobs that run infinitely
  2. Change the job spec of the scaledjob
  3. Watch as all currently jobs are immediately deleted

Logs from KEDA operator

Not relevant

KEDA Version

2.15.1

Kubernetes Version

1.29

Platform

Microsoft Azure

Scaler Details

Azure Service Bus

Anything else?

No response

@yaron-idan yaron-idan added the bug Something isn't working label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

No branches or pull requests

1 participant