Hello community, I have prefect prefect in a docke...
# prefect-server
i
Hello community, I have prefect prefect in a docker over a linux VM. is it really necesary or better to move to prefect 2.0 I already have around 20 scripts that are loaded in v0.15.3. If so what is the best way to upgrade to v2 or v1?
a
It's not necessary, but long-term it's better to use Prefect 2.0 - we started compiling migration content here
👍 1
i
ok, thank you very much, and way it passed from 1.0 to 2.0?
a
what do you mean?
Prefect 2.0 is a completely new product so it's not just a matter of upgrading a component, it requires some real migration e.g. you need to use a flow decorator instead of
with Flow("name") as flow:
i
So it will be necessary to update docker instances and migrate all of the scripts. and I have to forget about v1, isn't it?
I mean pass directly to v2
a
you don't have to, no pressure here 😄 but if you want to migrate, then yes it will require completely different components e.g. Apollo and Hasura are no longer necessary
1
i
Ok, for now we'll continue and we'll see how it goes to migrate in the near future.
👍 1
Thanks!