Hello all! Is there a recommended way to install ...
# ask-community
j
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
You can refer to the docs about infrastructure here
j
You might find this recipe on Discourse for using Prefect 2.0 with Docker to be helpful, too.
j
@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
You might find

this video

useful. There are also two other videos in the playlist showing how to set up Prefect with Kubernetes
j
Thanks @Khuyen Tran! That works 👍 Would be great to have this documented some time, or point at the videos – they're helpful