<@ULVA73B9P> I recently migrated to workers from a...
# ask-marvin
a
@Marvin I recently migrated to workers from agents and deploying workers using helm. However I'm a bit confused as to where and how I should specify parameters for HorizontalPodAutoscaler & Roles given that my worker isn't using that old yaml format where I used to define it below the "Deployment(agent) " section. Any ideas or examples?
m
Based on the information I found, here are some pointers: 1. Upgrading from agents to workers significantly enhances the experience of deploying flows. It simplifies the specification of each flow's infrastructure and runtime environment. A worker is the fusion of an agent with an infrastructure block. Like agents, workers poll a work pool for flow runs that are scheduled to start. Like infrastructure blocks, workers are typed - they work with only one kind of infrastructure. More Info 2. You can verify your Prefect worker deployment using the command
kubectl get pods -n prefect
. You should see the Prefect worker pod running. More Info However, I couldn't find specific information on how to specify parameters for HorizontalPodAutoscaler & Roles in the new worker setup. It might be a good idea to check the official Prefect documentation or their community forum for more detailed guidance.