Hi All, General Question - Can we deploy prefect o...
# prefect-community
g
Hi All, General Question - Can we deploy prefect on open shift ? Is there a doc for this ? Appreciate your help!
discourse 1
k
I am not sure. No content but you might be able to use the helm chart. Any reason why you can’t use Cloud though? It will be a lot easier and there are 20k task runs, which is more than enough to get started with
g
Thanks for reply! We have our own cloud, and cannot install docker-compose in VMs. So wanted to check if we can deploy on OpenShift
a
are you asking for Prefect 2.0 or 1.0? you can always use OpenShift as your execution layer and leverage Prefect Cloud as your orchestration layer
if you have privacy concerns regarding Cloud-based SaaS, check this page about Prefect's Hybrid Execution Model
g
Hi Anna, Thanks for the links above. We are just planning on migrating from dagster to prefect, I am new to prefect with basic knowledge. From Hybrid Model step 3 is what we are unable to do. we cannot install docker on the VM. So is there any otherway of deploying prefect on openshift ?
or containerize prefect for openshift ?
a
there is a definitely a way to use Prefect on your infrastructure, but it's hard to say immediately how this may look like Did you decide if you: 1. would like to use Prefect Cloud vs. do you want to use only OSS version? 2. want to use Prefect 2.0 vs. use only Prefect 1.0 for now? For OpenShift, you can leverage Kubernetes integration to deploy flow runs
g
k
Yeah
g
This is what I tried https://docs.prefect.io/orchestration/server/deploy-local.html and failed because of "pip install docker-compose"
k
prefect server start
is using docker compose, not Kubernetes. For Kubernetes, you need to use helm
g
Thanks Kevin!
d
Hi @Gowtham Manne We are running all the Prefect infrastructure including Perfect Server on OC. All the containers are rootless which is a requirement for OC. The rest is a basic Kubernetes setup. Just ensure your RBAC is right and agents have the right role attached to them.
upvote 1
a
for the Helm chart, this README is a great description showing how to use it
g
Appreciate your help on this @Anna Geller @davzucky, Let me try few things out !
👍 1
101 Views