• j

    Jason

    5 months ago
    So I have a Fargate ECS cluster, but when I try to scale up the cpu count with ECSRun() I get:
    [14 April 2022 2:14pm]: An error occurred (InvalidParameterException) when calling the RunTask operation: No Fargate configuration exists for given values.
    . The weird thing is that 4096 appears to be a valid entry: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-cpu-memory-error.html. Is it possible I screwed up the definition of my fargate cluster?
    j
    Kevin Kho
    6 replies
    Copy to Clipboard
  • j

    Jason

    5 months ago
    What are the best practices for managing Docker image names?
    docker_storage = Docker(
        registry_url=environ["REGISTRY_URL"],
        dockerfile="./Dockerfile",
        image_name="{edited}-prod-platform-prefect-{project}",
        image_tag="latest",
    )
    It seems like each flow could demand its own image in order to separate dependencies, which would mean creating an ECR repo for each workflow? I suppose this wouldn't be that difficult to script with Github Actions and aws-cli globbing a directory for workflow names?
    j
    Kevin Kho
    +1
    4 replies
    Copy to Clipboard
  • v

    Vipul

    5 months ago
    Hey, quick question on Prefect Orion - Wanted to know if the caching on task based on the persistent result something going to be supported in the Prefect Orion. The one that is already available in the Prefect 1.0 with @task(target=“{task-name}“)
    v
    Kevin Kho
    +1
    17 replies
    Copy to Clipboard
  • Apoorva Desai

    Apoorva Desai

    5 months ago
    Is there any documentation on which prefect docker tag has what extras?
    Apoorva Desai
    1 replies
    Copy to Clipboard
  • Ken Nguyen

    Ken Nguyen

    5 months ago
    Are there any example flows involving pulling from different branches of the same repo using mapping?
    Ken Nguyen
    Kevin Kho
    78 replies
    Copy to Clipboard
  • Alexander Butler

    Alexander Butler

    5 months ago
    prefect deployment create
    says it should create or update a deployment but it is failing when the deployment exists (prefect 2.0) ?
    Alexander Butler
    Kevin Kho
    20 replies
    Copy to Clipboard
  • r

    Ryan R

    5 months ago
    Hi, Having some problems using getting around CORS issues with Prefect V2.0 accessible to another host on the lan while running in a docker container. Details in thread per @Kevin Kho
    r
    Kevin Kho
    13 replies
    Copy to Clipboard
  • Apoorva Desai

    Apoorva Desai

    5 months ago
    Hello! All my prefect flows are getting scheduled but not running. Any recommendations on where I can start to debug this?
    Apoorva Desai
    1 replies
    Copy to Clipboard
  • Subhajit Roy

    Subhajit Roy

    5 months ago
    Hi folks, in a prefect flow , for one particular task, I am trying to raise a SKIP signal
    from prefect.engine.signals import SKIP
    ........
    ........
    raise SKIP('Skipping all downstream dependencies.')
    With this all the following tasks are being skipped and was expecting the flow state will be
    skipped
    . Though the following tasks are being skipped but at the end the flow becomes
    successful
    . I have two questions around :1. Is this something expected? 2. If this is expected, whats the remedy . Do I need to explicitly use a state handler on top of it to make the flow
    skipped
    eventually
    Subhajit Roy
    Kevin Kho
    14 replies
    Copy to Clipboard
  • Andrey Vinogradov

    Andrey Vinogradov

    5 months ago
    Hi! Is it possible to increase max scheduled flows in prefect? I found “max_scheduled_runs_per_flow” parameter but it seems that is is only available in prefect server not prefect.
    Andrey Vinogradov
    Anna Geller
    14 replies
    Copy to Clipboard