communication: make suspended cronjobs fail-fast
This commit is contained in:
parent
26d82b3f85
commit
73f577a49a
@ -9,9 +9,10 @@ spec:
|
||||
suspend: true
|
||||
jobTemplate:
|
||||
spec:
|
||||
backoffLimit: 0
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: rename
|
||||
image: python:3.11-slim
|
||||
|
||||
@ -12,9 +12,10 @@ spec:
|
||||
failedJobsHistoryLimit: 1
|
||||
jobTemplate:
|
||||
spec:
|
||||
backoffLimit: 0
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: pin
|
||||
image: python:3.11-slim
|
||||
|
||||
@ -10,9 +10,10 @@ spec:
|
||||
concurrencyPolicy: Forbid
|
||||
jobTemplate:
|
||||
spec:
|
||||
backoffLimit: 0
|
||||
template:
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
restartPolicy: Never
|
||||
containers:
|
||||
- name: seed
|
||||
image: python:3.11-slim
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user