With Prefect 2.10.x I can see that the worker pool has a concept of worker type. However, the Kubernetes one is flagged at Beta.
Can we use it to replace the usage of Deployment and infrastructure?
04/14/2023, 11:52 AM
Hi @davzucky. Workers, projects, and typed work pools are all new features. You can use a Kubernetes typed worker with a Kubernetes typed work pool. That’s encouraged. The features are in beta, so there may be breaking changes, but it’s the future recommended way to create and manage deployments. 🙂
You need the Kubernetes specifications to come from somewhere, and a Kubernetes typed work pool is great for that.
You can use the new projects feature to create deployments.
With those features you don’t need to create an infrastructure block.
• Introductory overview post on projects and workers.
• Projects tutorial.
04/14/2023, 12:01 PM
Thank you @Jeff Hale for the detailed reply. I looked at the perfect following a problem we had with storage deployment.
I looked at the code and it looked like the kubernetes type need prefect-kubernetes collection.
Am I right?