fix cronjob reschedule
avoid errors of "more than 100 jobs skipped/failed" and stopping of job by k8s
This commit is contained in:
@@ -6,6 +6,7 @@ metadata:
|
|||||||
name: {{ include "seaweedfs.fullname" . }}-cronjob
|
name: {{ include "seaweedfs.fullname" . }}-cronjob
|
||||||
spec:
|
spec:
|
||||||
schedule: "{{ .Values.cronjob.schedule }}"
|
schedule: "{{ .Values.cronjob.schedule }}"
|
||||||
|
startingDeadlineSeconds: 200
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
failedJobsHistoryLimit: 2
|
failedJobsHistoryLimit: 2
|
||||||
successfulJobsHistoryLimit: 2
|
successfulJobsHistoryLimit: 2
|
||||||
|
|||||||
Reference in New Issue
Block a user