Hey folks, I have a question regarding argo events...
# ask-metaflow
b
Hey folks, I have a question regarding argo events with Metaflow, wondering if it is possible to expose the
EventSource
from the default
/metaflow-event
endpoint so that other services can send events outside of Metaflow to trigger those downstream flows, any example setup that I can reference or look at would be great thanks!
1
s
@brief-kite-90012 what is your event source? depending on it there are a multitude of options to emit events from outside metaflow.
b
im using the default from the metaflow terraform, should be a argo event webhook
s
you can look at this implementation and implement a client in any language
b
is the eventsource automatically exposed outside of the cluster scope by using the terraform implementation of argo? is there a way i can test if
ARGO_EVENTS_WEBHOOK_URL
is reachable from my current network
s
i dont think that is the case today
also the helm chart is a very vanilla helm chart from argo. the expectation is that depending on your needs, one will tweak it accordingly
b
any examples that i can refer to on how i can expose the eventsource? tried looking at argo documentation but wasnt really sure whats missing
s
unfortunately, that's dependent on your kubernetes and networking set up. metaflow by itself doesn't require any customization of these event sources. as long as events show up in the event bus that the sensors can process - that's all that is needed.
definitely lot of scope for improvement in argo's documentation 🙂
b
right got it thanks anyways