hi ! i have been using prefect 2.7.8 version for a...
# ask-community
d
hi ! i have been using prefect 2.7.8 version for a very long time . we are trying to upgrade to newer version of prefect to explore newer features. was bit confused by the difference of workers and agents . also when i self hosted prefect server ui (like before) the blocks catalog was empty.. any particular reason for this ? shall i just create them using prefect cli or python sdk , (creating from block catalog was easier )
i
Hi Deepanshu, Absolutely, there's been a ton of improvements and new features since then. You can think of Workers as a superset of Agents, they're definitely more infra aware in case you want to have a more granular control as to what flows run on what infra. I just tried and I do see blocks on the self hosted UI on my end. Any errors pop-up or in the console? Perhaps try a hard browser refresh (Shift+Cmd/Control+R for Chrome)?
d
there was some issue with the deployment.. used helm deployment instead with below customization
Copy code
server:
  publicApiUrl: <https://prefect.example.com/api>
postgresql:
  useSubChart: false
  auth:
    existingSecret: hm-prefect-postgres-secret
@Islam Otmani we did have control about infra of flow run with infra blocks earlier as well.. id like to understand the depth of the updates
as per my understanding, correct me if im wrong . workpools have some sort of defined infra. workers use that infra information to run the deployment runs submitted to the workpool. earlier agents were only responsible for polling now when replaced with workers they are picking up infra information as well which was earlier supplied from infra blocks