When upgrading from older versions of Prefect and using KubernetesRun run_config, is it relevant what the version of the agent starting the run is? I see
AttributeError: 'Context' object has no attribute 'image'
when DaskExecutor tries to start up a cluster
Isaac Brodsky
11/29/2021, 7:24 PM
I assume this is some issue happening after the agent in the Kubernetes run of my job itself, right?
k
Kevin Kho
11/29/2021, 7:26 PM
Hey @Isaac Brodsky, the agent version needs to be at least the same as the flow registration version. This is hard to tell, it might be the agent version causing this.
i
Isaac Brodsky
11/29/2021, 7:27 PM
An agent that is newer would be able to run an older flow?
k
Kevin Kho
11/29/2021, 7:30 PM
Yes that is right, but preferably within the same major version. But the other way around is not because there can be features that the agent doesnt have when it deploys the flow
i
Isaac Brodsky
11/29/2021, 7:34 PM
Major version being 0 for all released versions currently?
Isaac Brodsky
11/29/2021, 7:34 PM
If not then the upgrade path is a little more complicated
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.