Add limit on cron job activity

This commit is contained in:
erik 2024-05-03 15:30:48 +02:00
parent f78e089639
commit b593ac8b7c

View file

@ -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