Skip to content

Commit 33aa0b2

Browse files
committed
feat: added process and postprocess jobs to radixconfig.yml
1 parent a49df3b commit 33aa0b2

File tree

1 file changed

+104
-29
lines changed

1 file changed

+104
-29
lines changed

radixconfig.yaml

Lines changed: 104 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ spec:
175175
WORK_DIR: "/mnt/azure-storage/worker"
176176
ARGS_FOLDER: "/app/args"
177177
notifications:
178-
webhook: http://api:5002/api/webhooks/delft3d-simulation/status
178+
webhook: http://api:5004/api/webhooks/delft3d/job-status
179179
environmentConfig:
180180
- environment: dev
181181
volumeMounts:
@@ -189,7 +189,63 @@ spec:
189189
useAdls: true
190190
streaming:
191191
enabled: false
192-
- name: delft3d-simulation-worker-storage-dev
192+
- environment: test
193+
volumeMounts:
194+
- name: delft3d-simulation-storage-test
195+
path: /mnt/azure-storage/simulation
196+
blobfuse2:
197+
protocol: fuse2
198+
container: simulation
199+
uid: 1000
200+
accessMode: ReadWriteMany
201+
useAdls: true
202+
streaming:
203+
enabled: false
204+
- environment: prod
205+
volumeMounts:
206+
- name: delft3d-simulation-storage-prod
207+
path: /mnt/azure-storage/simulation
208+
blobfuse2:
209+
protocol: fuse2
210+
container: simulation
211+
uid: 1000
212+
accessMode: ReadWriteMany
213+
useAdls: true
214+
streaming:
215+
enabled: false
216+
217+
- name: delft3d-preprocessing
218+
image: ghcr.io/equinor/gt-post:latest
219+
schedulerPort: 8090
220+
resources:
221+
requests:
222+
memory: "256Mi"
223+
cpu: "500m"
224+
limits:
225+
cpu: "1000m"
226+
payload:
227+
path: /app/args
228+
variables:
229+
JOB_MODE: "preprocess"
230+
MAIN_DIR: "/mnt/azure-storage/simulation"
231+
WORK_DIR: "/mnt/azure-storage/worker"
232+
ARGS_FOLDER: "/app/args"
233+
notifications:
234+
webhook: http://api:5004/api/webhooks/delft3d/job-status
235+
environmentConfig:
236+
- environment: dev
237+
volumeMounts:
238+
- name: delft3d-preprocess-storage-dev
239+
path: /mnt/azure-storage/simulation
240+
blobfuse2:
241+
protocol: fuse2
242+
container: simulation
243+
uid: 1000
244+
accessMode: ReadWriteMany
245+
useAdls: true
246+
streaming:
247+
enabled: false
248+
- name: delft3d-preprocess-worker-storage-dev
193249
path: /mnt/azure-storage/worker
194250
blobfuse2:
195251
protocol: fuse2
@@ -201,7 +257,7 @@ spec:
201257
enabled: false
202258
- environment: test
203259
volumeMounts:
204-
- name: delft3d-simulation-storage-test
260+
- name: delft3d-preprocess-storage-test
205261
path: /mnt/azure-storage/simulation
206262
blobfuse2:
207263
protocol: fuse2
@@ -211,7 +267,7 @@ spec:
211267
useAdls: true
212268
streaming:
213269
enabled: false
214-
- name: delft3d-simulation-worker-storage-test
270+
- name: delft3d-preprocess-worker-storage-test
215271
path: /mnt/azure-storage/worker
216272
blobfuse2:
217273
protocol: fuse2
@@ -223,7 +279,7 @@ spec:
223279
enabled: false
224280
- environment: prod
225281
volumeMounts:
226-
- name: delft3d-simulation-storage-prod
282+
- name: delft3d-preprocess-storage-prod
227283
path: /mnt/azure-storage/simulation
228284
blobfuse2:
229285
protocol: fuse2
@@ -233,7 +289,7 @@ spec:
233289
useAdls: true
234290
streaming:
235291
enabled: false
236-
- name: delft3d-simulation-worker-storage-prod
292+
- name: delft3d-preprocess-worker-storage-prod
237293
path: /mnt/azure-storage/worker
238294
blobfuse2:
239295
protocol: fuse2
@@ -244,7 +300,7 @@ spec:
244300
streaming:
245301
enabled: false
246302

247-
- name: delft3d-preprocessing
303+
- name: delft3d-processing
248304
image: ghcr.io/equinor/gt-post:latest
249305
schedulerPort: 8090
250306
resources:
@@ -256,16 +312,15 @@ spec:
256312
payload:
257313
path: /app/args
258314
variables:
259-
JOB_MODE: "preprocess"
315+
JOB_MODE: "process"
260316
MAIN_DIR: "/mnt/azure-storage/simulation"
261-
WORK_DIR: "/mnt/azure-storage/worker"
262317
ARGS_FOLDER: "/app/args"
263318
notifications:
264-
webhook: http://api:5002/api/webhooks/delft3d-preprocess/status
319+
webhook: http://api:5004/api/webhooks/delft3d/job-status
265320
environmentConfig:
266321
- environment: dev
267322
volumeMounts:
268-
- name: delft3d-preprocess-storage-dev
323+
- name: delft3d-process-storage-dev
269324
path: /mnt/azure-storage/simulation
270325
blobfuse2:
271326
protocol: fuse2
@@ -275,19 +330,21 @@ spec:
275330
useAdls: true
276331
streaming:
277332
enabled: false
278-
- name: delft3d-preprocess-worker-storage-dev
279-
path: /mnt/azure-storage/worker
333+
- environment: test
334+
volumeMounts:
335+
- name: delft3d-process-storage-test
336+
path: /mnt/azure-storage/simulation
280337
blobfuse2:
281338
protocol: fuse2
282-
container: worker
339+
container: simulation
283340
uid: 1000
284341
accessMode: ReadWriteMany
285342
useAdls: true
286343
streaming:
287344
enabled: false
288-
- environment: test
345+
- environment: prod
289346
volumeMounts:
290-
- name: delft3d-preprocess-storage-test
347+
- name: delft3d-process-storage-prod
291348
path: /mnt/azure-storage/simulation
292349
blobfuse2:
293350
protocol: fuse2
@@ -297,19 +354,40 @@ spec:
297354
useAdls: true
298355
streaming:
299356
enabled: false
300-
- name: delft3d-preprocess-worker-storage-test
301-
path: /mnt/azure-storage/worker
357+
358+
- name: delft3d-postprocessing
359+
image: ghcr.io/equinor/gt-post:latest
360+
schedulerPort: 8090
361+
resources:
362+
requests:
363+
memory: "256Mi"
364+
cpu: "500m"
365+
limits:
366+
cpu: "1000m"
367+
payload:
368+
path: /app/args
369+
variables:
370+
JOB_MODE: "postprocess"
371+
MAIN_DIR: "/mnt/azure-storage/simulation"
372+
ARGS_FOLDER: "/app/args"
373+
notifications:
374+
webhook: http://api:5004/api/webhooks/delft3d/job-status
375+
environmentConfig:
376+
- environment: dev
377+
volumeMounts:
378+
- name: delft3d-postprocess-storage-dev
379+
path: /mnt/azure-storage/simulation
302380
blobfuse2:
303381
protocol: fuse2
304-
container: worker
382+
container: simulation
305383
uid: 1000
306384
accessMode: ReadWriteMany
307385
useAdls: true
308386
streaming:
309387
enabled: false
310-
- environment: prod
388+
- environment: test
311389
volumeMounts:
312-
- name: delft3d-preprocess-storage-prod
390+
- name: delft3d-postprocess-storage-test
313391
path: /mnt/azure-storage/simulation
314392
blobfuse2:
315393
protocol: fuse2
@@ -319,11 +397,13 @@ spec:
319397
useAdls: true
320398
streaming:
321399
enabled: false
322-
- name: delft3d-preprocess-worker-storage-prod
323-
path: /mnt/azure-storage/worker
400+
- environment: prod
401+
volumeMounts:
402+
- name: delft3d-postprocess-storage-prod
403+
path: /mnt/azure-storage/simulation
324404
blobfuse2:
325405
protocol: fuse2
326-
container: worker
406+
container: simulation
327407
uid: 1000
328408
accessMode: ReadWriteMany
329409
useAdls: true
@@ -416,10 +496,6 @@ spec:
416496
useAdls: true
417497
streaming:
418498
enabled: false
419-
420-
421-
422-
423499
- name: pepm-nrchannest
424500
image: ghcr.io/equinor/pepm-worker-api/channel-estimation:latest
425501
schedulerPort: 8090
@@ -511,7 +587,6 @@ spec:
511587
useAdls: true
512588
streaming:
513589
enabled: false
514-
515590
- name: pepm-nrvargrest
516591
image: ghcr.io/equinor/pepm-worker-api/variogram-estimation:latest
517592
schedulerPort: 8090

0 commit comments

Comments
 (0)