Starting flow instead of running it #4208
Unanswered
adammrozik
asked this question in
Q&A
Replies: 2 comments 1 reply
-
Hey @adammrozik The Re your agent, are you using Prefect Server? It looks like you may be missing a default tenant. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hey Michael! Thanks for the quick answer!
Right now we are not using prefect server. Is it mandatory to use it for
this kind of work?
I think I am confused with what is the actual role of Kubernetes agent if
dask is doing all of the tasks
czw., 4 mar 2021, 17:41 użytkownik Michael Adkins <[email protected]>
napisał:
… Hey @adammrozik <https://github.com/adammrozik>
The run_config is for flows that are registered with a backend (
flow.register()) then run from the UI or API. flow.run() is always for
local runs of flows.
Re your agent, are you using Prefect Server? It looks like you may be
missing a default tenant.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARPF4NRM4I5MLBBJJA25YD3TB6Z4DANCNFSM4YTRTFKQ>
.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
My goal is to while I call
flow.run
function to receive only some kind of id/state of the flow that has been started, but not actually have to wait for the result. Do I understand correctly that Agent is a thing that can help me solve it?I have manually deployed kubernetes agent based on the YAML received from
prefect kubernetes install
. I have only added option to runAsUser 1000, as my cluster does not allow running on root.I have also Dask Cluster running on the same K8S cluster. Dask cluster itself is working, but I am having trouble with using the agent. After deploying it with kubectl apply, I thought that run_config option would be able to find it:
Is there something I am missing or something more that should be done?
Also, my Kubernetes Agent crashes on its own with the following error:
Can it be a result of running it without root privileges?
Beta Was this translation helpful? Give feedback.
All reactions