Newbie here, is there support to use knative as ba...
# ask-metaflow
f
Newbie here, is there support to use knative as backend for metaflow?
1
u
Short answer: Metaflow should still run just fine on a K8s cluster with KNative installed. Details: Metaflow can run individual steps in a flow as Kubernetes jobs (which in turn start pods) and Argo workflows (which also, in turn, start pods). If the Kubernetes cluster itself has KNative installed already for other purposes, it shouldn't come in the way of running Jobs or Argo workflows. So Metaflow should just work.. What's the use-case you're looking into for running Metaflow on K8s with KNative?
f
thanks for the reply! Yeah we were mainly looking to use the event triggering features which are not available while using metaflow with just AWS step functions, therefore investigating options like Argo which is officially having those features, but if we don't use that and just use knative, do we still get the event trigger features?
u
Interesting.. This might need a deeper discussion specific to your use-case and environment. Metaflow can create Argo workflows. And looks like KNative works well with Argo workflows/events, especially using HTTP triggers. So, it should be possible to have the workflow trigger using KNative.