Hi I have a question regarding argo workflows plug...
# ask-metaflow
b
Hi I have a question regarding argo workflows plugin, i am trying to implement our own
ArgoClient
to make metaflow call Rest API requests instead of k8s API when talking with argo, wondering what's the preferred way of doing it while using the
metaflow_extension
library. And how to deal with future updates in that case?
s
Hey @brief-kite-90012, any chance you can share your argo implementation that uses the REST api as opposed to the K8 implementation?
b
Hi @stale-eve-11739, what I did is just using the metaflow_extension template and overriding
metaflow.plugins.argo.argo_client.py
with rest api request calls instead of k8s api for each of the methods, I'm using it with
metaflow==2.12.6
, you might need to tweak
argo_workflows.py
as well but I am not sure.
❤️ 1
s
thanks @brief-kite-90012! will try it out this is probably useful for a lot of people so might be worth pushing this out as an independent plugin