When upgrading from older versions of Prefect and using KubernetesRun run_config, is it relevant wha...
i
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
I assume this is some issue happening after the agent in the Kubernetes run of my job itself, right?
k
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
An agent that is newer would be able to run an older flow?
k
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
Major version being 0 for all released versions currently?
If not then the upgrade path is a little more complicated
k
Oh sorry I mean minor*
0.15.x for everything
i
Ok that makes sense