# prefect-community

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: - 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 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!

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

Andreas Nigg

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