mammoth-rainbow-82717
12/02/2021, 11:03 AMancient-application-36103
12/02/2021, 11:27 AMpython flow.py step-functions create --only-json
re:2 - Yes, you can always embed the entire flow as a single task in Prefect (or any other scheduler). I believe, that's the pattern that @worried-mechanic-36312 at Coveo uses currently.mammoth-rainbow-82717
12/02/2021, 11:27 AMmammoth-rainbow-82717
12/02/2021, 11:27 AMmammoth-rainbow-82717
12/02/2021, 11:27 AMfancy-eve-65019
12/02/2021, 12:38 PMIf we went with Argo Workflows, then we would probably be looking to take on a GitOps type approach.we’re using Argo Workflows with Metaflow in a quite similar setup. I’d recommend to try it out first before fully commit to ArgoCD approach.
create
, trigger
and list-runs
provide a very convenient interface. One of the pain points for us with ArgoCD is how to propagate template errors back to a user? It becomes an async process, there is a delay between git commit and a sync. User had to go to ArogCD to find out the sync didn’t happen because of a problem in a template.
And with python flow.py argo-workflows create
user immediately getting error message if something wrong. And it’s a single command vs smth. like git add && git commit && git push
.
2nd, the generated yaml/json templates are barely readable, diffs mostly unusable. I personally treat them like generated code, almost a binary blob. As soon as I have a flow.py in a git repo, I always can re-generate a template from it.
Hope this info would be helpful.mammoth-rainbow-82717
12/02/2021, 1:03 PMmammoth-rainbow-82717
12/02/2021, 1:03 PMmammoth-rainbow-82717
12/02/2021, 1:44 PMmammoth-rainbow-82717
12/02/2021, 1:44 PMmammoth-rainbow-82717
12/02/2021, 1:45 PMmammoth-rainbow-82717
12/02/2021, 1:45 PMmammoth-rainbow-82717
12/02/2021, 1:45 PMmammoth-rainbow-82717
12/02/2021, 1:45 PMmammoth-rainbow-82717
12/02/2021, 1:45 PMmammoth-rainbow-82717
12/02/2021, 1:46 PMmammoth-rainbow-82717
12/02/2021, 1:47 PMmammoth-rainbow-82717
12/02/2021, 1:48 PMfancy-eve-65019
12/02/2021, 2:23 PMDid you use Argo CD for the development process as well as staging and production?Originally, the idea was to use it for "productive" setups only. Expectation was that users would use their own k8s clusters (even with KF) for development and as soon as they are satisfied with a template, commit it to the staging/prod/etc. repo. Like you described. What happened in reality, it was a significant overhead for teams to admin their own k8s clusters. They preferred to use productive clusters for development (in a separate account). And there they didn't have a proper access to internals of k8s. We've got tons of tickets why template didn't sync, didn't start, etc.
An ML user is working on a model in development, during with they can use metaflow directly on the development kubernetes cluster without having to work through Argo CD.It could work as soon as your team would maintain such dev cluster for them.
I suppose the the generated yaml/json will be close to unreadable no matter whatyeah, but it's not a problem. Even manually written yaml templates besides some trivial ones are hard to read. And metaflow's flows are really shine here.
mammoth-rainbow-82717
12/02/2021, 2:26 PMmammoth-rainbow-82717
12/02/2021, 2:26 PMfancy-eve-65019
12/02/2021, 2:27 PMmammoth-rainbow-82717
12/02/2021, 2:27 PMmammoth-rainbow-82717
12/02/2021, 2:27 PMfancy-eve-65019
12/02/2021, 2:29 PMmammoth-rainbow-82717
12/02/2021, 2:29 PMmammoth-rainbow-82717
12/02/2021, 2:29 PMmammoth-rainbow-82717
12/02/2021, 2:30 PMfancy-eve-65019
12/02/2021, 2:31 PMworried-mechanic-36312
12/02/2021, 10:07 PM<https://github.com/jacopotagliabue/you-dont-need-a-bigger-boat>
mammoth-rainbow-82717
12/03/2021, 10:32 AMmammoth-rainbow-82717
12/03/2021, 10:33 AMworried-mechanic-36312
12/03/2021, 2:34 PM