y

    Yang Ruan

    4 months ago
    Hello, Can the same agent run flows that use different docker images? Does that mean that the agent is launching another container? Thanks!
    Kevin Kho

    Kevin Kho

    4 months ago
    Yes. Just use the Docker agent and use the Docker RunConfiguration for your flows. Yes the agent is using Docker to spin up another container in this case
    y

    Yang Ruan

    4 months ago
    oh great thanks!
    So it has to be a Docker agent? Can it work with a Kubernetes agent?
    or is the RunConfiguration agnostic of the agent?
    Kevin Kho

    Kevin Kho

    4 months ago
    RunConfiguration will pair with the appropriate agent in Prefect one. Yes you can use KubernetesRun + Kubernetes Agent
    y

    Yang Ruan

    4 months ago
    The KubernetesAgent can also be configured to use different images?
    Kevin Kho

    Kevin Kho

    4 months ago
    The agent can be running in a pod as long as Prefect is installed. The Flow image can be configured in the RunConfiguration. The agent image is not used for the Flow image
    y

    Yang Ruan

    4 months ago
    right, ok got it