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
{{ message }}
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.
As far as I can see from the code, all dead jobs are deleted. There's also an option to decide what to do with failed jobs.
However, it's a good idea to be able to keep some dead jobs around for historical purposes, regardless of success or failure. In particular, dead job pods can be inspected for data and logs.
For that reason, I'd like an option to keep jobs by age. For example, if we have a backup job that runs every day, I'd like to keep the last 5 days' worth around.
Secondly, keeping failed jobs is okay, but keeping them for ever may not be what we want. A separate age setting for failed jobs would good.
For me, a time-based setting would work. Perhaps specified as command-line flags (--succeeded-job-ttl=<seconds>, --failed-job-ttl=<seconds>) and/or annotations.
The text was updated successfully, but these errors were encountered:
atombender
changed the title
More options about what pods to keep
More options for time-based reaping
Oct 27, 2017
As far as I can see from the code, all dead jobs are deleted. There's also an option to decide what to do with failed jobs.
However, it's a good idea to be able to keep some dead jobs around for historical purposes, regardless of success or failure. In particular, dead job pods can be inspected for data and logs.
For that reason, I'd like an option to keep jobs by age. For example, if we have a backup job that runs every day, I'd like to keep the last 5 days' worth around.
Secondly, keeping failed jobs is okay, but keeping them for ever may not be what we want. A separate age setting for failed jobs would good.
For me, a time-based setting would work. Perhaps specified as command-line flags (
--succeeded-job-ttl=<seconds>
,--failed-job-ttl=<seconds>
) and/or annotations.The text was updated successfully, but these errors were encountered: