h

    Howard Cornwell

    1 year ago
    Hey, I’m wondering if there’s a supported way for the prefect agent to run jobs using a specific kubernetes nodeselector? For example, a flow labeled
    high-memory
    runs on a
    high-memory
    agent which spawns jobs via a
    high-memory
    nodeselector.
    m

    Mariia Kerimova

    1 year ago
    You can provide a custom job template to the agent or KubernetesRun, and specify node selector in the template. Also, you could spin up a second agent with label
    high-memory
    and provide a custom job template with
    high-memory
    node selector.
    h

    Howard Cornwell

    1 year ago
    That’s great. thank you!