You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have seen this issue for deployments that are scaled down to 0 replica by Keda and for CronJobs when no Job is running in combination with force-update=true. The image update part works when there is a new image available but it continuously tries to update it over and over again even though it is already up to date. I have not seen this issue with other applications with the same config that don't scale down to 0 so I believe this happens that there is no container up and running and force-update=true.
To Reproduce
Use a CronJob and set force-update=true
Expected behavior
The image update attempts shall only happen when the image is not up to date.
Additional context
We are using Helm to deploy deployments and CronJobs
Version
0.14.0
Logs
Update attempt when image already is up to date:
jimgus
changed the title
Update attempts whe image is already up to date when no container exist
Update attempts when image is already up to date when no container exist
Aug 13, 2024
, image-updater doesn't know the current image version from image-list value, since its tag part is just a version constraint, not a valid tag value. The update is done to honor the force-update setting, without knowing the current version.
One workaround is to set force-update to false for those images used in cronjobs and jobs.
Describe the bug
I have seen this issue for deployments that are scaled down to 0 replica by Keda and for CronJobs when no Job is running in combination with
force-update=true
. The image update part works when there is a new image available but it continuously tries to update it over and over again even though it is already up to date. I have not seen this issue with other applications with the same config that don't scale down to 0 so I believe this happens that there is no container up and running andforce-update=true
.To Reproduce
Use a CronJob and set
force-update=true
Expected behavior
The image update attempts shall only happen when the image is not up to date.
Additional context
We are using Helm to deploy deployments and CronJobs
Version
0.14.0
Logs
Update attempt when image already is up to date:
The text was updated successfully, but these errors were encountered: