Join Slack
Powered by
Hi all, I’m trying to run prefect flows in a restr...
# ask-community
l
Luca Schneider
11/15/2022, 5:21 PM
Hi all, I’m trying to run prefect flows in a restricted/corporate K8s. I cannot rely on
KubernetesJob
as it triggers new jobs and ressource creations is blocked outside of prod deployment. Is there a way to run flows inside of a pod waiting to be triggered by an agent. Would
https://docs.prefect.io/api-ref/prefect/infrastructure/#prefect.infrastructure.process
be the solution ? thanks
r
redsquare
11/15/2022, 5:37 PM
that will run it on the already provisioned agent
🙌 1
l
Luca Schneider
11/15/2022, 6:19 PM
So creating a pod with all my libs, registering it as an agent, that could run my flow as a process infrastrcuture ?
r
redsquare
11/15/2022, 6:24 PM
yes
🙌 1
l
Luca Schneider
11/15/2022, 6:34 PM
ok many thanks. I’ll try that
👍 1
Open in Slack
Previous
Next