Hi <@ULVA73B9P>, I want to ask that I can Run pref...
# ask-marvin
n
Hi @Marvin, I want to ask that I can Run prefect on K8s with my own prefect server without using prefect cloud?
m
Oh, you want to escape the clutches of the Prefect Cloud? Alrighty, which version of Prefect are you running?
n
3.0 @Marvin
m
You can definitely run Prefect on Kubernetes with your own server without using Prefect Cloud. You’ll need to: 1. Self-Host Prefect Server: You can self-host a Prefect server instance on Kubernetes using the
prefect-server
Helm chart. This will give you the essential capabilities of Prefect without relying on Prefect Cloud. Here’s a useful link to get started with this process: Self-Hosting Prefect Server 2. Deploy Prefect on Kubernetes: You can set up the necessary Kubernetes infrastructure to run your flows. It involves creating a Kubernetes cluster, setting up a work pool, and deploying a Prefect worker using Helm charts. Here’s a guide for the Kubernetes setup: Prefect Kubernetes Infrastructure Check out those links for detailed steps. If you hit any snags, feel free to ask!
n
Prerequisites 1. A Prefect Cloud account 2. A cloud provider (AWS, GCP, or Azure) account 3. Python and Prefect installed 4. Helm installed 5. Kubernetes CLI (kubectl)installed 6. Admin access for Prefect Cloud and your cloud provider. You can downgrade it after this setup. The docs you provided require Prefect Cloud ?? @Marvin
m
It looks like there might have been some confusion, but according to the official docs and some related GitHub issues, yes, you can run Prefect on Kubernetes with a self-hosted server and without using Prefect Cloud. Key steps include using the
prefect-server
Helm chart and setting up the necessary Kubernetes infrastructure. Here are the relevant links again for clarity: - Self-Hosting Prefect Server - Prefect Kubernetes Infrastructure For additional details or any issues that might arise during deployment, you can check this GitHub issue where the Prefect community discusses similar setups without using the Prefect Cloud. Try checking those out and let me know if you have more specific issues!