You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(deployment): use sync-waves for triggering ingest cronjobs (#6375)
issue described in
https://loculus.slack.com/archives/C05G172HL6L/p1778229491333099
PostSync was getting previews stuck inn sync status for multiple minutes
and leading to issues removing previews, switching to sync with a later
syncWave partially solves this (sync is still waiting for hooks and
taking slightly longer than before) but does not lead to too many errors
in ingest and can be deleted immedietly.
🚀 Preview: Add `preview` label to enable
Copy file name to clipboardExpand all lines: ingest/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,8 +98,8 @@ Indirect requirements:
98
98
99
99
The pipeline runs in different kubernetes resources:
100
100
101
-
- An "approve" deployment (uses the `autoapprove.py` script) that continuously polls the Loculus backend for sequences in status `WAITING_FOR_APPROVAL` and approves them, one replica with kubernetes resource type apps/v1/Deployment.
102
-
- An "ingest" cronjob batch/v1/CronJob that runs the ingest pipeline regularly. Cronjobs are scheduled to start ingest for a different organism every 30min to reduce load. To improve development experience ArgoCD spawns ingest pods using a PostSync-hook trigger (this waits for all other pods to be healthy after an ArgoCD sync - reducing ingest failures due to the backend being unreachable)
101
+
- An "approve" deployment (uses the `autoapprove.py` script) that continuously polls the Loculus backend for sequences in status `WAITING_FOR_APPROVAL` and approves them. This has one replica with kubernetes resource type apps/v1/Deployment.
102
+
- An "ingest" cronjob batch/v1/CronJob that runs the ingest pipeline regularly. Cronjobs are scheduled to start ingest for a different organism every 30min to reduce load. To improve development experience ArgoCD spawns ingest pods using sync waves (10th wave).
103
103
104
104
In production the ingest pipeline runs in a docker container that takes a config file as input.
0 commit comments