Skip to content

Commit 356c1a9

Browse files
author
Myztiq
committed
Hotfix cron jobs so we cleanup properly and don't try to run a whole ton at a time.
1 parent 7cbb84e commit 356c1a9

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ansible/roles/swarm-cloudwatch-reporter/templates/swarm-cron.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ spec:
1515
imagePullSecrets:
1616
- name: {{ image_pull_secret_name }}
1717
restartPolicy: Never
18+
successfulJobsHistoryLimit: 5
19+
failedJobsHistoryLimit: 5
20+
concurrencyPolicy: Replace
1821
containers:
1922
- name: {{ name }}
2023
volumeMounts:

0 commit comments

Comments
 (0)