Hi Everyone, I am using Webhook Storage to registe...
# ask-community
o
Hi Everyone, I am using Webhook Storage to register flows on our onprem prefect server, and the flows are configured to used Kubernetes Run .. .I am trying to understand who does the actual GET API Call to the webhook to download the file (Agent Pod, Job Pod) and when does that happen? Does it happen when the flow is about to run or when the flow is being registered?
k
Hey @Omar Sultan, the agent does the call to storage to download the file. This happens on flow run. Registration just keeps track of the metadata and saves it in the database (where does the flow live). Upon flow run, the metadata is retrieved, including the storage location, and then it pulls it from there. After it pulls it, it runs it on Kubernetes.
o
Hi Kevin, thanks for the clarification. Our initial impression was that the pull was being done by the POD that was created for the Job running the flow. So thanks for that clarification.