Hello, Can the same agent run flows that use diffe...
# best-practices
y
Hello, Can the same agent run flows that use different docker images? Does that mean that the agent is launching another container? Thanks!
k
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
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?
k
RunConfiguration will pair with the appropriate agent in Prefect one. Yes you can use KubernetesRun + Kubernetes Agent
y
The KubernetesAgent can also be configured to use different images?
k
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
right, ok got it