• Tom Klein

    Tom Klein

    9 months ago
    Hello, can anyone point me at any kind of comparison between
    Prefect-core
    and
    prefect-orion
    ? And maybe also some clarity about which of them is run when we go in the cloud path?
    Tom Klein
    Anna Geller
    7 replies
    Copy to Clipboard
  • Zheng Xie

    Zheng Xie

    9 months ago
    I can get Prefect agent running locally and triggered by Prefect Cloud UI. Now I want to move the agent to a Kubernetes cluster on IBM Cloud. There is not a tutorial to list the steps and the docs from Prefect is grouped around some concepts that I don’t know what I need to accomplish the goal. Can you please list the steps? for example:1. set flow storage to docker 2. Push the code to container registry in the kubernetes cluster 3. … I am hoping with this list, I can look up the Prefect docs to figure out what to do.
    Zheng Xie
    Anna Geller
    9 replies
    Copy to Clipboard
  • Samuel Hinton

    Samuel Hinton

    9 months ago
    Hi team! Im having a few stability issues with prefect again. Ive noticed some hanging tasks, so I used that big “Cancel All” button in the prefect dashboard to try and clean things out. Except the tasks are now stuck, theyre just stuck in a different state. What would be the proper way to say more forcefully “Kill all tasks and get yourself back in working order?”
    Samuel Hinton
    Kevin Kho
    6 replies
    Copy to Clipboard
  • m

    Martim Lobao

    9 months ago
    one of the recurring issues i have with prefect is that things often seem to fail for no reason, and frequently with absolutely no context. i restarted this flow a minute later with no changes at all, and it ran successfully. are there any recommendations about handling these situations?
    m
    Kevin Kho
    8 replies
    Copy to Clipboard
  • bral

    bral

    9 months ago
    Hey! Is there a way to run async code (async def function) inside a prefect task? Should I create a loop and then pass this coro in loop.run_until_complete () inside @task?
    bral
    Kevin Kho
    3 replies
    Copy to Clipboard
  • i

    Isaac Brodsky

    9 months ago
    Ever seen this error in Kubernetes?
    HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"pods \"dask-root-elided\" is forbidden: User \"system:serviceaccount:default:default\" cannot get resource \"pods/log\" in API group \"\" in the namespace \"default\"","reason":"Forbidden","details":{"name":"dask-root-elided","kind":"pods"},"code":403}
    Was trying to install a new Prefect agent and it seems the RBAC setup is not right? The agent was configured with
    prefect agent kubernetes install --key $PREFECT_API_KEY --rbac --label my_label_here
    i
    Anna Geller
    7 replies
    Copy to Clipboard
  • Isobel Jones

    Isobel Jones

    9 months ago
    Hi, has anyone seen this error before on Kubernetes
    Failed to load and execute Flow's environment: AssertionError(None)
    . Trying to access private github repo for first time. Have set the github token. Running on gke
    flow.storage = GitHub(
            repo="Infrastructure/prefect",                           # name of repo
            path="_cfg/server/hello.py",                   # location of flow file in repo
            base_url="<https://github.private-repo.com/>"
        )
    we are setting the env variable which contains the token
    Isobel Jones
    Anna Geller
    +1
    21 replies
    Copy to Clipboard
  • Aqib Fayyaz

    Aqib Fayyaz

    9 months ago
    Hi, why prefect agent require role and rolebinding permissions when deploying agent on gke?
    Aqib Fayyaz
    1 replies
    Copy to Clipboard
  • a

    André Petersen

    9 months ago
    Hi, can you recommend an article which covers the following aspects?1. How to use Prefect without Prefect Cloud, if you still want a Web UI? 2. What are the alternatives to Prefect Cloud? 3. What are the advantages and disadvantages of those alternatives? 4. Probably too specific: (How to setup Prefect on AWS Fargate without Prefect Cloud, but with UI)
    a
    Anna Geller
    5 replies
    Copy to Clipboard
  • Wieger Opmeer

    Wieger Opmeer

    9 months ago
    In Prefect Cloud there are Cloud Hooks and Automations. What would be a typical use case for each of them? Or specifically: is notifying when a flow run fails best done with a hook or with a automation?
    Wieger Opmeer
    Anna Geller
    2 replies
    Copy to Clipboard