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
3rd party system process data and generate result file. It will take hours.
step1 run loop to pull result file until 3rd party system generate the result file.
step1 done
follow steps running to process result file.
The problem is step1 pod will running for hours, but actual work is done by 3rd party system, most of work in step1 is waiting. It means resource waste.
I know argo event can help on this problem, but it means a lot of work, 3rd system report event, existing workflows re-write.
Is there any simple way to resolve the problem ? Thank you.
A idea is my mind is extending suspend template, in suspend, checking artifact existing or not.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
user case:
The problem is step1 pod will running for hours, but actual work is done by 3rd party system, most of work in step1 is waiting. It means resource waste.
I know argo event can help on this problem, but it means a lot of work, 3rd system report event, existing workflows re-write.
Is there any simple way to resolve the problem ? Thank you.
A idea is my mind is extending suspend template, in suspend, checking artifact existing or not.
suspend:
duration: "2h"
dependencies:
artifacts:
- name: message
from: "{{steps.generate-artifact.outputs.artifacts.hello-art}}"
Beta Was this translation helpful? Give feedback.
All reactions