mirror of
https://github.com/kubernetes-sigs/descheduler.git
synced 2026-01-28 06:29:29 +01:00
Merge pull request #1709 from googs1025/add/field
add activeDeadlineSeconds field for cronjob
This commit is contained in:
@@ -29,6 +29,9 @@ spec:
|
|||||||
{{- if .Values.ttlSecondsAfterFinished }}
|
{{- if .Values.ttlSecondsAfterFinished }}
|
||||||
ttlSecondsAfterFinished: {{ .Values.ttlSecondsAfterFinished }}
|
ttlSecondsAfterFinished: {{ .Values.ttlSecondsAfterFinished }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.activeDeadlineSeconds }}
|
||||||
|
activeDeadlineSeconds: {{ .Values.activeDeadlineSeconds }}
|
||||||
|
{{- end }}
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: {{ template "descheduler.fullname" . }}
|
name: {{ template "descheduler.fullname" . }}
|
||||||
|
|||||||
@@ -55,7 +55,8 @@ suspend: false
|
|||||||
# startingDeadlineSeconds: 200
|
# startingDeadlineSeconds: 200
|
||||||
# successfulJobsHistoryLimit: 3
|
# successfulJobsHistoryLimit: 3
|
||||||
# failedJobsHistoryLimit: 1
|
# failedJobsHistoryLimit: 1
|
||||||
# ttlSecondsAfterFinished 600
|
# ttlSecondsAfterFinished: 600
|
||||||
|
# activeDeadlineSeconds: 60 # Make sure this value is SHORTER than the cron interval.
|
||||||
# timeZone: Etc/UTC
|
# timeZone: Etc/UTC
|
||||||
|
|
||||||
# Required when running as a Deployment
|
# Required when running as a Deployment
|
||||||
|
|||||||
Reference in New Issue
Block a user