<@ULVA73B9P> how can i update prefect workpool job...
# ask-marvin
y
@Marvin how can i update prefect workpool job template image in prefect 2 with prefect cli
m
To update a work pool's job template image in Prefect 2 using the Prefect CLI, you can utilize the
prefect work-pool update
command. You'll need to version control your base job template by committing it as a JSON file to your repository. Then, use the following CLI command to update the work pool's base job template:
Copy code
bash
prefect work-pool update --base-job-template base-job-template.json my-work-pool
Replace
base-job-template.json
with the path to your JSON file containing the updated job template, and
my-work-pool
with the name of your work pool. For more details, you can refer to the Prefect work pools documentation.