Add limit to cronjob history
This commit is contained in:
parent
6b6e7210e6
commit
db8d2b5747
|
@ -6,6 +6,8 @@ metadata:
|
||||||
spec:
|
spec:
|
||||||
# 4am every day
|
# 4am every day
|
||||||
schedule: "0 4 * * *"
|
schedule: "0 4 * * *"
|
||||||
|
successfulJobsHistoryLimit: 1
|
||||||
|
failedJobsHistoryLimit: 2
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in New Issue