Hello, Community! I installed the Prefect App from...
# ask-community
j
Hello, Community! I installed the Prefect App from the Azure Marketplace, connected it to Prefect Cloud - no issues. I cannot, however, connect prefect to the cluster because there is no external IP! Well, I think that's the reason - not sure. Any docs anywhere about this?
k
Hi @Jason Noxon! What cluster are you trying to connect to? Do you mean you have a Kubernetes cluster that you want to use to run Flows? Or you have Dask cluster that you want to use as an executor?
j
I have a Kubernetes cluster with a prefect agent running in it.
k
That sounds good already. The agent will pick up the Flow from Prefect and spin up a new k8s job to run it in the same cluster
That thing 🙂
k
Got it. Ok so if you spin that up inside a cluster, it will be pick up the Flows from Prefect and then run it on the k8s cluster
Ah wait I think I know what you are saying. Let me try this
You are saying that you want to connect the agent to another kubernetes cluster to run the flows there?
j
So, in my config.toml file, I can't specify a host to connect to, because there isn't an external ip address to connect, I believe.