Hello all!
Is there a recommended way to install and run the Prefect agent in non-local environments? I see references to e.g.
prefect agent kubernetes install
but that seems to be v1.x only…
k
Khuyen Tran
08/11/2022, 3:36 PM
You can refer to the docs about infrastructure here
j
Jeff Hale
08/11/2022, 3:38 PM
You might find this recipe on Discourse for using Prefect 2.0 with Docker to be helpful, too.
j
James Brady
08/11/2022, 3:39 PM
@Khuyen Tran those docs assume an already-running agent though right?
@Jeff Hale I think the examples in that Discourse topic also assume a running agent?
I appreciate the pointers, but haven't even gotten to the point of trying to run Deployments yet 😬
The Agent docs imply it's on me to stand up a properly-configured agent as a first step – I'd like to do so in my k8s cluster, but happy to try other options if they're easier
k
Khuyen Tran
08/11/2022, 3:46 PM
You might find
this video▾
useful. There are also two other videos in the playlist showing how to set up Prefect with Kubernetes
j
James Brady
08/11/2022, 4:13 PM
Thanks @Khuyen Tran! That works 👍
Would be great to have this documented some time, or point at the videos – they're helpful