mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 13:07:53 +08:00
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
|
||||
spec:
|
||||
schedule: "{{ .Values.cronjob.schedule }}"
|
||||
startingDeadlineSeconds: 200
|
||||
concurrencyPolicy: Forbid
|
||||
failedJobsHistoryLimit: 2
|
||||
successfulJobsHistoryLimit: 2
|
||||
|
Reference in New Issue
Block a user