Add limit on cron job activity
This commit is contained in:
parent
f78e089639
commit
b593ac8b7c
1 changed files with 2 additions and 1 deletions
|
@ -6,11 +6,12 @@ metadata:
|
||||||
labels:
|
labels:
|
||||||
app.kubernetes.part-of: NAME-website
|
app.kubernetes.part-of: NAME-website
|
||||||
spec:
|
spec:
|
||||||
schedule: "0/7 * * * *"
|
schedule: "10/7 * * * *"
|
||||||
successfulJobsHistoryLimit: 1
|
successfulJobsHistoryLimit: 1
|
||||||
failedJobsHistoryLimit: 1
|
failedJobsHistoryLimit: 1
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
spec:
|
spec:
|
||||||
|
activeDeadlineSeconds: 4150
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
namespace: NAME
|
namespace: NAME
|
||||||
|
|
Loading…
Reference in a new issue