Browse Source

fix cronjob reschedule

avoid errors of "more than 100 jobs skipped/failed"
and stopping of job by k8s
pull/1742/head
LazyDBA247-Anyvision 4 years ago
parent
commit
8491fbf1c7
  1. 1
      k8s/seaweedfs/templates/cronjob.yaml

1
k8s/seaweedfs/templates/cronjob.yaml

@ -6,6 +6,7 @@ metadata:
name: {{ include "seaweedfs.fullname" . }}-cronjob
spec:
schedule: "{{ .Values.cronjob.schedule }}"
startingDeadlineSeconds: 200
concurrencyPolicy: Forbid
failedJobsHistoryLimit: 2
successfulJobsHistoryLimit: 2

Loading…
Cancel
Save