Morning, we've set up new Prefect env in K8s, but ...
# prefect-community
i
Morning, we've set up new Prefect env in K8s, but some old dataflow have DockerRun() as run_config. These dataflows are failing with error: "Flow run 46a30aa1-11f0-4c77-bb56-afab879db8bc has a
run_config
of type
DockerRun
, only
KubernetesRun
is supported" Suppose that Prefect knows it runs in K8s and now all dataflow should use K8s agent, right?
Self answered - "Yes"
a
Exactly, so when you use Kubernetes agent, you would need KubernetesRun run config, and for Docker agent, the DockerRun run config