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