-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Kubernetes (with Argo) #50
Comments
@nlaille : I was recently exploring building plugin support for Argo but the DAG templating seemed a little complicated to fit into Metaflow within a short amount of time. So meanwhile I have built a plugin to support Kubernetes with isolated self packaged deployments of the runtime itself to the cluster. It will require a service-based metadata provider. It will deploy the entire workflow's runtime as a job that will orchestrate different containerized jobs. So deploying your entire flow with its container orchestration on Kubernetes becomes one command: It works using the https://github.com/valayDave/metaflow/tree/kube_cpu_stable Documentation is in the links within that repo. The plugin is under constant development so there will be more features soon and hopefully even support Argo. But it is currently tied to S3 as its datastore and doesn't support GPUs. Hope this helps! |
Is there a plan to include it in Metaflow official repository? |
Argo team would be happy to help make this a reality. |
@alexec That would be wonderful! Let me email you to set up some time. |
You can book 30m: https://calendly.com/argoproj/30m |
Ohhh my good. Thanks for this collaboration @alexec and @savingoyal !!! |
Is there any update on this? BTW, the URL for Argo Workflows has changed and the old URL does not redirect correctly. Here's the new location: https://github.com/argoproj/argo-workflows |
This is an extremely popular issue. It'd be great to see it implemented. |
If you would like to try out and give feedback on our Kubernetes integration, please reach out at http://slack.outerbounds.co |
@savingoyal Looks like the current support for K8s is added via K8s Python API and noticed the following the doc:
How's the integration with Argo Workflows coming along? |
FYI we now have a low-level Python SDK officially maintained by the Argo Workflows team. It should be much easier to use it to integrate Metaflow with Argo Workflows. https://github.com/argoproj/argo-workflows/tree/master/sdks/python |
#992 is now available for review |
#992 has been merged. The next Metaflow release will address this issue. |
Yay! |
Amazing work! Looking forward to the new release! |
Thank you for making this possible !! 🥇 |
Support for Kubernetes and Argo Workflows is now available in Metaflow 2.6.0 - https://blog.argoproj.io/human-centric-data-science-on-kubernetes-with-metaflow-7f60aad34cba |
- add a terminationMessagePolicy to FallbackToLogsOnError
- add a terminationMessagePolicy to FallbackToLogsOnError
- add a terminationMessagePolicy to FallbackToLogsOnError
- add a terminationMessagePolicy to FallbackToLogsOnError
Another implementation of #16
This idea is to provide metaflow with native kubernetes implementation using Argo (https://github.com/argoproj/argo) for the workflow part.
The text was updated successfully, but these errors were encountered: