https://prefect.io logo
Title
b

Ben Ayers-Glassey

10/17/2022, 5:15 PM
Seems like prefect's
prefect deployment apply
command has a typo in its output:
Successfully loaded 'sampleflow_dev'
Successfully uploaded 4 files to <gcs://dev-prefect-work/flow_storage/>
Deployment 'sampleflow/sampleflow_dev' successfully created with id 'c3b605e4-ca96-45eb-b51a-b048ca6d2e08'.
View Deployment in UI: <https://app.prefect.cloud/account/a9c0f124-ca06-4646-a501-57a405ebf3c7/workspace/43f1b8a7-ed9c-46d2-a88a-55eef95b8ef7/deployment/c3b605e4-ca96-45eb-b51a-b048ca6d2e08>

To execute flow runs from this deployment, start an agent that pulls work from the 'kubernetes' work queue:
$ prefect agent start -q 'kubernetes'
...that link it shows is incorrect: https://app.prefect.cloud/account/a9c0f124-ca06-4646-a501-57a405ebf3c7/workspace/43f1[…]55eef95b8ef7/deployment/c3b605e4-ca96-45eb-b51a-b048ca6d2e08 ...it should be: https://app.prefect.cloud/account/a9c0f124-ca06-4646-a501-57a405ebf3c7/workspace/43f1[…]/deployments/deployment/c3b605e4-ca96-45eb-b51a-b048ca6d2e08 ...in other words, it's missing a "/deployments"
👀 1
1
k

Kevin Wang

10/17/2022, 5:31 PM
seems related to this. Maybe link this on that thread? https://prefect-community.slack.com/archives/CL09KU1K7/p1665759780080909
c

Christopher Boyd

10/17/2022, 5:44 PM
I see what you mean - what version of prefect are you using when deploying this?
b

Ben Ayers-Glassey

10/17/2022, 6:26 PM
2.6.1
$ pip freeze | grep prefect
prefect==2.6.1
1
c

Christopher Boyd

10/17/2022, 6:27 PM
gotcha, thank you!
👍 1