Rajvir Jhawar

07/07/2022, 6:55 PM
Prefect 2 question here: Are an agent and work queue necessary in order to run a k8 job? For instance if i am using prefect cloud and create a deployment with kubernetes flow runner. Running the flow via the GUI or using "deployment run" from vm/local machine without an agent and queue setup results in no flow being run and a state of late. The prefect docs just say you need: Remote storage and
configured to connect to a cluster

Kevin Kho

07/07/2022, 7:14 PM
I believe you do for it to be a k8s job
But if you don’t use the deployment, it should just run on whatever machine you run on and report the state to Orion

Rajvir Jhawar

07/07/2022, 7:24 PM
I know you can run agents outside the k8 cluster. For instance a VM setup with kubectl and pointed at the cluster with agent on it will be able to create jobs for you. I wondering if i could the same thing, but without having to utilize the agent queue mechanism