Merge "Add startingDeadlineSeconds field to cronJobs"
This commit is contained in:
@@ -33,6 +33,9 @@ spec:
|
|||||||
schedule: {{ .Values.jobs.volume_usage_audit.cron | quote }}
|
schedule: {{ .Values.jobs.volume_usage_audit.cron | quote }}
|
||||||
successfulJobsHistoryLimit: {{ .Values.jobs.volume_usage_audit.history.success }}
|
successfulJobsHistoryLimit: {{ .Values.jobs.volume_usage_audit.history.success }}
|
||||||
failedJobsHistoryLimit: {{ .Values.jobs.volume_usage_audit.history.failed }}
|
failedJobsHistoryLimit: {{ .Values.jobs.volume_usage_audit.history.failed }}
|
||||||
|
{{- if .Values.jobs.volume_usage_audit.starting_deadline }}
|
||||||
|
startingDeadlineSeconds: {{ .Values.jobs.volume_usage_audit.starting_deadline }}
|
||||||
|
{{- end }}
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -71,6 +71,7 @@ images:
|
|||||||
jobs:
|
jobs:
|
||||||
volume_usage_audit:
|
volume_usage_audit:
|
||||||
cron: "*/5 * * * *"
|
cron: "*/5 * * * *"
|
||||||
|
starting_deadline: 600
|
||||||
history:
|
history:
|
||||||
success: 3
|
success: 3
|
||||||
failed: 1
|
failed: 1
|
||||||
|
|||||||
@@ -33,6 +33,9 @@ spec:
|
|||||||
schedule: {{ .Values.jobs.engine_cleaner.cron | quote }}
|
schedule: {{ .Values.jobs.engine_cleaner.cron | quote }}
|
||||||
successfulJobsHistoryLimit: {{ .Values.jobs.engine_cleaner.history.success }}
|
successfulJobsHistoryLimit: {{ .Values.jobs.engine_cleaner.history.success }}
|
||||||
failedJobsHistoryLimit: {{ .Values.jobs.engine_cleaner.history.failed }}
|
failedJobsHistoryLimit: {{ .Values.jobs.engine_cleaner.history.failed }}
|
||||||
|
{{- if .Values.jobs.engine_cleaner.starting_deadline }}
|
||||||
|
startingDeadlineSeconds: {{ .Values.jobs.engine_cleaner.starting_deadline }}
|
||||||
|
{{- end }}
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ images:
|
|||||||
jobs:
|
jobs:
|
||||||
engine_cleaner:
|
engine_cleaner:
|
||||||
cron: "*/5 * * * *"
|
cron: "*/5 * * * *"
|
||||||
|
starting_deadline: 600
|
||||||
history:
|
history:
|
||||||
success: 3
|
success: 3
|
||||||
failed: 1
|
failed: 1
|
||||||
|
|||||||
@@ -30,6 +30,9 @@ spec:
|
|||||||
schedule: {{ .Values.jobs.cell_setup.cron | quote }}
|
schedule: {{ .Values.jobs.cell_setup.cron | quote }}
|
||||||
successfulJobsHistoryLimit: {{ .Values.jobs.cell_setup.history.success }}
|
successfulJobsHistoryLimit: {{ .Values.jobs.cell_setup.history.success }}
|
||||||
failedJobsHistoryLimit: {{ .Values.jobs.cell_setup.history.failed }}
|
failedJobsHistoryLimit: {{ .Values.jobs.cell_setup.history.failed }}
|
||||||
|
{{- if .Values.jobs.cell_setup.starting_deadline }}
|
||||||
|
startingDeadlineSeconds: {{ .Values.jobs.cell_setup.starting_deadline }}
|
||||||
|
{{- end }}
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -30,6 +30,9 @@ spec:
|
|||||||
schedule: {{ .Values.jobs.service_cleaner.cron | quote }}
|
schedule: {{ .Values.jobs.service_cleaner.cron | quote }}
|
||||||
successfulJobsHistoryLimit: {{ .Values.jobs.service_cleaner.history.success }}
|
successfulJobsHistoryLimit: {{ .Values.jobs.service_cleaner.history.success }}
|
||||||
failedJobsHistoryLimit: {{ .Values.jobs.service_cleaner.history.failed }}
|
failedJobsHistoryLimit: {{ .Values.jobs.service_cleaner.history.failed }}
|
||||||
|
{{- if .Values.jobs.service_cleaner.starting_deadline }}
|
||||||
|
startingDeadlineSeconds: {{ .Values.jobs.service_cleaner.starting_deadline }}
|
||||||
|
{{- end }}
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
jobTemplate:
|
jobTemplate:
|
||||||
metadata:
|
metadata:
|
||||||
|
|||||||
@@ -100,11 +100,13 @@ jobs:
|
|||||||
# TODO(portdirect): Add a post-start action to nova compute pods that registers themselves.
|
# TODO(portdirect): Add a post-start action to nova compute pods that registers themselves.
|
||||||
cell_setup:
|
cell_setup:
|
||||||
cron: "0 */1 * * *"
|
cron: "0 */1 * * *"
|
||||||
|
starting_deadline: 600
|
||||||
history:
|
history:
|
||||||
success: 3
|
success: 3
|
||||||
failed: 1
|
failed: 1
|
||||||
service_cleaner:
|
service_cleaner:
|
||||||
cron: "0 */1 * * *"
|
cron: "0 */1 * * *"
|
||||||
|
starting_deadline: 600
|
||||||
history:
|
history:
|
||||||
success: 3
|
success: 3
|
||||||
failed: 1
|
failed: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user