https://prefect.io logo
Title
a

Andreas Nigg

05/31/2022, 3:15 PM
Hey, I'm currently testing prefect 2.0 as part of our new data warehouse and so far I'm very impressed! I'd like to use prefect cloud 2.0 and run my flows in my k8s cluster. There is this documentation here: https://orion-docs.prefect.io/tutorials/kubernetes-flow-runner/ - which shows how to implement my use case for a OSS orion server. How would this example work for prefect cloud 2.0? Do I simply use the manifest as output from prefect orion kubernetes-manifest and only deploy the agent, role and role binding but not the API? And for the PREFECT_API_URL env variable I use https://api-beta.prefect.io/api/... instead of orian:4200?
Valentin provides a working solution in the following thread, but I don't get why he needs to also deploy the orion server and not just the Agent? Thanks for clarifying this! https://prefect-community.slack.com/archives/CL09KU1K7/p1652874375352009?thread_ts=1651566181.776459&cid=CL09KU1K7
a

Anna Geller

05/31/2022, 3:52 PM
Great question! I was planning to release a short tutorial on this and you encouraged me to do it right now 😄 let me write this down quickly in a Discourse topic, will share a link shortly
🙌 1
this is for AWS EKS incl. video, but will shortly share a version for an agent running in a local K8s cluster connected to Cloud 2.0 API
a

Andreas Nigg

06/01/2022, 6:01 AM
Awesome, thank you very much for your detailed and spot-on answers! 👍