-
Notifications
You must be signed in to change notification settings - Fork 121
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
Feature: Add option to leave image pull/delete Jobs running #101
Comments
SODACODE22: Raise PR against "develop" branch. |
@senthilrch -- I'd like to work on this issue. Here's the implementation I have in mind: |
@niladrih It's preferrable to have the retention for both successful and failed jobs. |
When any imagecache operation is performed (create, modify, refresh, purge etc.) if some jobs failed, kube-fledged fetches error information from the corresponding pod and updates in imagecache status section. And deletes all the jobs that were created for the operation.
In several situations, leaving the failed jobs without deleting them will help further troubleshooting the exact cause for the failure. Add a new flag in the controller (and surface the same to helm values.yaml and the operator CR) that will allow the controller to leave failed jobs running. Default value: delete
See logs of imagecache modify operation that results in two jobs getting expired:-
The text was updated successfully, but these errors were encountered: